protected property PathRootsSubscriber::$pathRoots

Stores the path roots available in the router.

A path root is the first virtual directory of a path, like 'admin', 'node' or 'user'.

Type: array

File

core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 23

Class

PathRootsSubscriber
Provides all available first bits of all route paths.

Namespace

Drupal\Core\EventSubscriber

Code

protected $pathRoots;

© 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/property/PathRootsSubscriber::pathRoots/8.1.x