You are here

protected static function Page::routeBuilder in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/Entity/Page.php \Drupal\page_manager\Entity\Page::routeBuilder()

Wraps the route builder.

Return value

\Drupal\Core\Routing\RouteBuilderInterface An object for state storage.

File

src/Entity/Page.php, line 172

Class

Page
Defines a Page entity class.

Namespace

Drupal\page_manager\Entity

Code

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