You are here

protected property ViewsBlockBase::$user in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/Block/ViewsBlockBase.php \Drupal\views\Plugin\Block\ViewsBlockBase::user
  2. 9 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;