You are here

protected property LoginLogoutMenuLink::$currentUser in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php \Drupal\user\Plugin\Menu\LoginLogoutMenuLink::currentUser
  2. 10 core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php \Drupal\user\Plugin\Menu\LoginLogoutMenuLink::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php, line 20

Class

LoginLogoutMenuLink
A menu link that shows "Log in" or "Log out" as appropriate.

Namespace

Drupal\user\Plugin\Menu

Code

protected $currentUser;