ViewExecutableFactory::$user

Same name in other branches
  1. 9 core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::user
  2. 8.9.x core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::user
  3. 10 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 20

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.