function SearchPageFormBase::submitForm
Same name in other branches
- 8.9.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()
- 10 core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()
- 11.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()
Overrides EntityForm::submitForm
File
-
core/
modules/ search/ src/ Form/ SearchPageFormBase.php, line 151
Class
- SearchPageFormBase
- Provides a base form for search pages.
Namespace
Drupal\search\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
if ($this->plugin instanceof PluginFormInterface) {
$this->plugin
->submitConfigurationForm($form, $form_state);
}
return $this->entity;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.