You are here

protected property ActiveLinkResponseFilter::$currentUser in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

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

Class

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

Namespace

Drupal\Core\EventSubscriber

Code

protected $currentUser;