function SearchPageFormBase::buildForm
Same name in other branches
- 9 core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::buildForm()
- 8.9.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::buildForm()
- 11.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::buildForm()
Overrides EntityForm::buildForm
1 call to SearchPageFormBase::buildForm()
- SearchPageAddForm::buildForm in core/
modules/ search/ src/ Form/ SearchPageAddForm.php - Form constructor.
1 method overrides SearchPageFormBase::buildForm()
- SearchPageAddForm::buildForm in core/
modules/ search/ src/ Form/ SearchPageAddForm.php - Form constructor.
File
-
core/
modules/ search/ src/ Form/ SearchPageFormBase.php, line 66
Class
- SearchPageFormBase
- Provides a base form for search pages.
Namespace
Drupal\search\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$this->plugin = $this->entity
->getPlugin();
return parent::buildForm($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.