PathValidator::$pathProcessor

The path processor. Type: \Drupal\Core\PathProcessor\InboundPathProcessorInterface File core/lib/Drupal/Core/Path/PathValidator.php, line 49 Class PathValidator Provides a default path validator and access checker. Namespace Drupal\Core\Path Code protected $pathProcessor;

PathValidator::$account

The current user. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/Path/PathValidator.php, line 42 Class PathValidator Provides a default path validator and access checker. Namespace Drupal\Core\Path Code protected $account;

PathValidator::$accessUnawareRouter

A router implementation which does not check access. Type: \Symfony\Component\Routing\Matcher\UrlMatcherInterface File core/lib/Drupal/Core/Path/PathValidator.php, line 35 Class PathValidator Provides a default path validator and access checker. Namespace Drupal\Core\Path Code protected $accessUnawareRouter;

PathValidator::$accessAwareRouter

The access aware router. Type: \Drupal\Core\Routing\AccessAwareRouterInterface File core/lib/Drupal/Core/Path/PathValidator.php, line 28 Class PathValidator Provides a default path validator and access checker. Namespace Drupal\Core\Path Code protected $accessAwareRouter;

PathValidator

Provides a default path validator and access checker. Hierarchy class \Drupal\Core\Path\PathValidator implements PathValidatorInterface File core/lib/Drupal/Core/Path/PathValidator.php, line 21 Namespace Drupal\Core\Path Members Name Modifiers Type Description PathValidator::$accessAwareRouter protected property The access aware router. PathValidator::$accessUnawareRouter protected property A router implementation which does not check access. PathValidator::$ac

PathRootsSubscriber::__construct

public PathRootsSubscriber::__construct(StateInterface $state) Constructs a new PathRootsSubscriber instance. Parameters \Drupal\Core\State\StateInterface $state: The state key value store. File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 38 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code public function __construct(StateInterface $state) { $this->state = $state; }

PathRootsSubscriber::onRouteFinished

public PathRootsSubscriber::onRouteFinished() File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 59 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code public function onRouteFinished() { $this->state->set('router.path_roots', array_keys($this->pathRoots)); $this->pathRoots = []; }

PathRootsSubscriber::onRouteAlter

public PathRootsSubscriber::onRouteAlter(RouteBuildEvent $event) Collects all path roots. Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The route build event. File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 48 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code public function onRouteAlter(RouteBuildEvent $event) { $collection = $event->getRouteCollection(); foreach ($collec

PathRootsSubscriber::getSubscribedEvents

public static PathRootsSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority))

PathRootsSubscriber::$state

The state key value store. Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 30 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code protected $state;