You are here

protected property WelcomeUserNameBlock::$currentUser in Welcome Username 8

The current_user service.

Type: \Drupal\Core\Session\AccountProxy

File

src/Plugin/Block/WelcomeUserNameBlock.php, line 51

Class

WelcomeUserNameBlock
Provides a 'Welcome Username Login/Logout' Block.

Namespace

Drupal\welcome_username\Plugin\Block

Code

protected $currentUser;