You are here

protected property SwitchUserBlock::$currentUser in Devel 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::currentUser
  2. 8.2 src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\SwitchUserBlock::currentUser
  3. 4.x src/Plugin/Block/SwitchUserBlock.php \Drupal\devel\Plugin\Block\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;