class PathRootsSubscriber

Provides all available first bits of all route paths.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!PathRootsSubscriber.php/class/PathRootsSubscriber/8.1.x