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 = [];
doc_Drupal
2016-10-29 09:33:32
Comments
Leave a Comment

Please login to continue.