You are here

protected property ActiveLinkResponseFilter::$currentPath in Drupal 9

Same name and namespace in other branches
  1. 8 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 37

Class

ActiveLinkResponseFilter
Subscribes to filter HTML responses, to set the 'is-active' class on links.

Namespace

Drupal\Core\EventSubscriber

Code

protected $currentPath;