PathSubscriber::$currentPath

The current path.

Type: \Drupal\Core\Path\CurrentPathStack

File

core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php, line 34

Class

PathSubscriber
Provides a path subscriber that converts path aliases.

Namespace

Drupal\Core\EventSubscriber

Code

protected $currentPath;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.