You are here

protected function SearchPage::routeBuilder in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 229
Contains \Drupal\search\Entity\SearchPage.

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

protected function routeBuilder() {
  return \Drupal::service('router.builder');
}