You are here

protected property ViewsBlockBase::$user in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/Block/ViewsBlockBase.php \Drupal\views\Plugin\Block\ViewsBlockBase::user
  2. 10 core/modules/views/src/Plugin/Block/ViewsBlockBase.php \Drupal\views\Plugin\Block\ViewsBlockBase::user

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/views/src/Plugin/Block/ViewsBlockBase.php, line 46

Class

ViewsBlockBase
Base class for Views block plugins.

Namespace

Drupal\views\Plugin\Block

Code

protected $user;