SwitchUserBlock::$currentUser

The Current User object.

Type: \Drupal\Core\Session\AccountInterface

File

src/Plugin/Block/SwitchUserBlock.php, line 44

Class

SwitchUserBlock
Provides a block for switching users.

Namespace

Drupal\devel\Plugin\Block

Code

protected $currentUser;