function SearchBlockForm::create
Overrides FormBase::create
File
-
core/
modules/ search/ src/ Form/ SearchBlockForm.php, line 60
Class
- SearchBlockForm
- Builds the search form for the search block.
Namespace
Drupal\search\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('search.search_page_repository'), $container->get('config.factory'), $container->get('renderer'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.