You are here

protected property LoginLogoutMenuLink::$currentUser in OAuth2 Login 8

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

src/Plugin/Menu/LoginLogoutMenuLink.php, line 20

Class

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

Namespace

Drupal\oauth2_login\Plugin\Menu

Code

protected $currentUser;