protected function SearchPage::routeBuilder in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::routeBuilder()
- 9 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.
1 call to SearchPage::routeBuilder()
- SearchPage::postSave in core/
modules/ search/ src/ Entity/ SearchPage.php - Acts on a saved entity before the insert or update hook is invoked.
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');
}