Provides all available first bits of all route paths.
Hierarchy
- class \Drupal\Core\EventSubscriber\PathRootsSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 13
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PathRootsSubscriber::$pathRoots | protected | property | Stores the path roots available in the router. |
PathRootsSubscriber::$state | protected | property | The state key value store. |
PathRootsSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
PathRootsSubscriber::onRouteAlter | public | function | Collects all path roots. |
PathRootsSubscriber::onRouteFinished | public | function | |
PathRootsSubscriber::__construct | public | function | Constructs a new PathRootsSubscriber instance. |
Please login to continue.