You are here

protected static function PageVariant::routeBuilder in Page Manager 8.4

Same name and namespace in other branches
  1. 8 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 423

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

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