ActiveLinkResponseFilter::$currentPath

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::currentPath
  2. 10 core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::currentPath
  3. 11.x 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;

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