ActiveLinkResponseFilter::$pathMatcher

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::pathMatcher
  2. 10 core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::pathMatcher
  3. 11.x core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::pathMatcher

The path matcher.

Type: \Drupal\Core\Path\PathMatcherInterface

File

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

Class

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

Namespace

Drupal\Core\EventSubscriber

Code

protected $pathMatcher;

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