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
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
Please to comment