You are here

protected static function PageVariant::routeBuilder in Page Manager 8

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

Wraps the route builder.

Return value

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

File

src/Entity/PageVariant.php, line 428
Contains Drupal\page_manager\Entity\PageVariant.

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

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