Commit ac6cb0e7 authored by xjm's avatar xjm

Issue #2861127 by lauriii, themeninja, Berdir: Useful Class Removed From Search Block

parent c8cfd1d4
......@@ -76,8 +76,6 @@ public function buildForm(array $form, FormStateInterface $form_state) {
// Set up the form to submit using GET to the correct search page.
$entity_id = $this->searchPageRepository->getDefaultSearchPage();
$form = [];
// SearchPageRepository::getDefaultSearchPage() depends on search.settings.
// The dependency needs to be added before the conditional return, otherwise
// the block would get cached without the necessary cacheablity metadata in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment