Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::currentPath
  2. 9 core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::currentPath

The current path.

Type: \Drupal\Core\Path\CurrentPathStack

File

core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 40

Class

ActiveLinkResponseFilter
Subscribes to filter HTML responses, to set attributes on active links.

Namespace

Drupal\Core\EventSubscriber

Code

protected $currentPath;