ViewExecutable::_buildArguments

protected ViewExecutable::_buildArguments() Builds all the arguments. Return value bool TRUE if the arguments were built successfully, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 1049 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _buildArguments() { // Initially, we want to build sorts and fields. This can change, though, // if we get a summary view. if (empty($this->argument)) { return TRUE;

ViewExecutable::_initHandler

protected ViewExecutable::_initHandler($key, $info) Attaches the views handler for the specific type. Parameters string $key: One of 'argument', 'field', 'sort', 'filter', 'relationship'. array $info: An array of views handler types use in the view with additional information about them. File core/modules/views/src/ViewExecutable.php, line 1028 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _initHandler($key, $info) { // Load the re

ViewExecutable::_postExecute

protected ViewExecutable::_postExecute() Runs the postExecute() on all active handlers. File core/modules/views/src/ViewExecutable.php, line 1010 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _postExecute() { foreach ($this::getHandlerTypes() as $key => $info) { $handlers = &$this->$key; foreach ($handlers as $id => $handler) { $handlers[$id]->postExecute($this->result); } } }

ViewExecutable::_preQuery

protected ViewExecutable::_preQuery() Runs the preQuery() on all active handlers. File core/modules/views/src/ViewExecutable.php, line 995 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _preQuery() { foreach ($this::getHandlerTypes() as $key => $info) { $handlers = &$this->$key; $position = 0; foreach ($handlers as $id => $handler) { $handlers[$id]->position = $position; $handlers[$id]->preQ

ViewExecutable::__construct

public ViewExecutable::__construct(ViewEntityInterface $storage, AccountInterface $user, ViewsData $views_data, RouteProviderInterface $route_provider) Constructs a new ViewExecutable object. Parameters \Drupal\views\ViewEntityInterface $storage: The view config entity the actual information is stored on. \Drupal\Core\Session\AccountInterface $user: The current user. \Drupal\views\ViewsData $views_data: The views data. \Drupal\Core\Routing\RouteProviderInterface $route_provider: The route prov

ViewExecutableFactory

Defines the cache backend factory. Hierarchy class \Drupal\views\ViewExecutableFactory File core/modules/views/src/ViewExecutableFactory.php, line 12 Namespace Drupal\views Members Name Modifiers Type Description ViewExecutableFactory::$requestStack protected property The request stack. ViewExecutableFactory::$routeProvider protected property The route provider. ViewExecutableFactory::$user protected property Stores the current user. ViewExecutableFacto

ViewExecutableFactory::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/views/src/ViewExecutableFactory.php, line 26 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $requestStack;

ViewExecutableFactory::$routeProvider

The route provider. Type: \Drupal\Core\Routing\RouteProviderInterface File core/modules/views/src/ViewExecutableFactory.php, line 40 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $routeProvider;

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;

ViewExecutableFactory::$viewsData

The views data. Type: \Drupal\views\ViewsData File core/modules/views/src/ViewExecutableFactory.php, line 33 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $viewsData;