function SearchPageFormBase::submitForm

Same name and namespace in other branches
  1. 11.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()
  2. 10 core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()
  3. 8.9.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::submitForm()

File

core/modules/search/src/Form/SearchPageFormBase.php, line 151

Class

SearchPageFormBase
Provides a base form for search pages.

Namespace

Drupal\search\Form

Code

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.