ToolbarLinkBuilder::$account

Same name in other branches
  1. 9 core/modules/user/src/ToolbarLinkBuilder.php \Drupal\user\ToolbarLinkBuilder::account
  2. 8.9.x core/modules/user/src/ToolbarLinkBuilder.php \Drupal\user\ToolbarLinkBuilder::account
  3. 10 core/modules/user/src/ToolbarLinkBuilder.php \Drupal\user\ToolbarLinkBuilder::account

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/modules/user/src/ToolbarLinkBuilder.php, line 22

Class

ToolbarLinkBuilder
ToolbarLinkBuilder fills out the placeholders generated in user_toolbar().

Namespace

Drupal\user

Code

protected $account;

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