function SearchPageForm::getFormId

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

Overrides FormInterface::getFormId

File

core/modules/search/src/Form/SearchPageForm.php, line 33

Class

SearchPageForm
Provides a search form for site wide search.

Namespace

Drupal\search\Form

Code

public function getFormId() {
    return 'search_form';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.