function SearchPageRoutes::create
Same name in other branches
- 9 core/modules/search/src/Routing/SearchPageRoutes.php \Drupal\search\Routing\SearchPageRoutes::create()
- 8.9.x core/modules/search/src/Routing/SearchPageRoutes.php \Drupal\search\Routing\SearchPageRoutes::create()
- 11.x core/modules/search/src/Routing/SearchPageRoutes.php \Drupal\search\Routing\SearchPageRoutes::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ search/ src/ Routing/ SearchPageRoutes.php, line 35
Class
- SearchPageRoutes
- Provides dynamic routes for search.
Namespace
Drupal\search\RoutingCode
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.