You are here

protected property PathRootsSubscriber::$pathRoots in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php \Drupal\Core\EventSubscriber\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 = [];