ViewExecutable::$user

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/views/src/ViewExecutable.php, line 416

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

protected $user;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.