Skip to content
Snippets Groups Projects
Commit ac6cb0e7 authored by Jess's avatar Jess
Browse files

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

parent c8cfd1d4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment