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;
Please login to continue.