ViewExecutable::$row_index

Stores the current active row while rendering. Type: int File core/modules/views/src/ViewExecutable.php, line 232 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $row_index;

ViewExecutable::$showAdminLinks

Should the admin links be shown on the rendered view. Type: bool File core/modules/views/src/ViewExecutable.php, line 415 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $showAdminLinks;

ViewExecutable::$sort

Stores the sort handlers which are initialized on this view. Type: \Drupal\views\Plugin\views\sort\SortPluginBase[] File core/modules/views/src/ViewExecutable.php, line 276 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $sort;

ViewExecutable::$storage

The config entity in which the view is stored. Type: \Drupal\views\Entity\View File core/modules/views/src/ViewExecutable.php, line 30 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $storage;

ViewExecutable::$total_rows

The total number of rows returned from the query. Type: int File core/modules/views/src/ViewExecutable.php, line 108 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $total_rows = NULL;

ViewExecutable::$user

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/views/src/ViewExecutable.php, line 408 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $user;

ViewExecutable::$viewsData

The views data. Type: \Drupal\views\ViewsData File core/modules/views/src/ViewExecutable.php, line 422 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $viewsData;

ViewExecutable::access

public ViewExecutable::access($displays = NULL, $account = NULL) Determines if the given user has access to the view. Note that this sets the display handler if it hasn't been set. Parameters string $displays: The machine name of the display. \Drupal\Core\Session\AccountInterface $account: The user object. Return value bool TRUE if the user has access to the view, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 1734 Class ViewExecutable Represents a view as a whole.

ViewExecutable::addCacheContext

public ViewExecutable::addCacheContext($cache_context) Expands the list of used cache contexts for the view. Parameters string $cache_context: The additional cache context. Return value $this File core/modules/views/src/ViewExecutable.php, line 497 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function addCacheContext($cache_context) { $this->element['#cache']['contexts'][] = $cache_context; return $this; }

ViewExecutable::addHandler

public ViewExecutable::addHandler($display_id, $type, $table, $field, $options = array(), $id = NULL) Adds an instance of a handler to the view. Items may be fields, filters, sort criteria, or arguments. Parameters string $display_id: The machine name of the display. string $type: The type of handler being added. string $table: The name of the table this handler is from. string $field: The name of the field this handler is from. array $options: (optional) Extra options for this instance. Defau