WorkspaceManager::$currentUser

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::currentUser
  2. 8.9.x core/modules/workspaces/src/WorkspaceManager.php \Drupal\workspaces\WorkspaceManager::currentUser

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/modules/workspaces/src/WorkspaceManager.php, line 49

Class

WorkspaceManager
Provides the workspace manager.

Namespace

Drupal\workspaces

Code

protected $currentUser;

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