function SearchPage::routeBuilder
Same name in other branches
- 8.9.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::routeBuilder()
- 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::routeBuilder()
- 11.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::routeBuilder()
Wraps the route builder.
Return value
\Drupal\Core\Routing\RouteBuilderInterface An object for state storage.
File
-
core/
modules/ search/ src/ Entity/ SearchPage.php, line 230
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
protected function routeBuilder() {
return \Drupal::service('router.builder');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.