ViewExecutableFactory::$user

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::user
  2. 10 core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::user
  3. 11.x core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::user

Stores the current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/views/src/ViewExecutableFactory.php, line 19

Class

ViewExecutableFactory
Defines the cache backend factory.

Namespace

Drupal\views

Code

protected $user;

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