function SearchPageFormBase::create
Same name in other branches
- 9 core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::create()
- 10 core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::create()
- 11.x core/modules/search/src/Form/SearchPageFormBase.php \Drupal\search\Form\SearchPageFormBase::create()
Overrides FormBase::create
File
-
core/
modules/ search/ src/ Form/ SearchPageFormBase.php, line 50
Class
- SearchPageFormBase
- Provides a base form for search pages.
Namespace
Drupal\search\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('search.search_page_repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.