function SearchBlockForm::getFormId

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

Overrides FormInterface::getFormId

File

core/modules/search/src/Form/SearchBlockForm.php, line 72

Class

SearchBlockForm
Builds the search form for the search block.

Namespace

Drupal\search\Form

Code

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

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