Drupal 8  8.0.2
PathRootsSubscriber Class Reference
Inheritance diagram for PathRootsSubscriber:

Public Member Functions

 __construct (StateInterface $state)
 
 onRouteAlter (RouteBuildEvent $event)
 
 onRouteFinished ()
 

Static Public Member Functions

static getSubscribedEvents ()
 

Protected Attributes

 $pathRoots
 
 $state
 

Detailed Description

Provides all available first bits of all route paths.

Constructor & Destructor Documentation

__construct ( StateInterface  $state)

Constructs a new PathRootsSubscriber instance.

Parameters
\Drupal\Core\State\StateInterface$stateThe state key value store.

References Drupal\state().

Here is the call graph for this function:

Member Function Documentation

static getSubscribedEvents ( )
static

{}

onRouteAlter ( RouteBuildEvent  $event)

Collects all path roots.

Parameters
\Drupal\Core\Routing\RouteBuildEvent$eventThe route build event.

References RouteBuildEvent\getRouteCollection().

Here is the call graph for this function:

onRouteFinished ( )

{}

References Drupal\state().

Here is the call graph for this function:


The documentation for this class was generated from the following file: