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::_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::_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::_build

public ViewExecutable::_build($key) Builds an individual set of handlers. This is an internal method. @todo Some filter needs this function, even it is internal. Parameters string $key: The type of handlers (filter etc.) which should be iterated over to build the relationship and query information. File core/modules/views/src/ViewExecutable.php, line 1334 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function _build($key) { $handlers = &$t

ViewExecutable::validate

public ViewExecutable::validate() Makes sure the view is completely valid. Return value array An array of error strings. This will be empty if there are no validation errors. File core/modules/views/src/ViewExecutable.php, line 2087 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function validate() { $errors = array(); $this->initDisplay(); $current_display = $this->current_display; foreach ($this->displayHandlers as $id =>

ViewExecutable::usePager

public ViewExecutable::usePager() Determines if the view uses a pager. Return value bool TRUE if the view uses a pager, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 624 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function usePager() { if (!empty($this->pager)) { return $this->pager->usePager(); } }

ViewExecutable::unserialize

public ViewExecutable::unserialize($serialized) File core/modules/views/src/ViewExecutable.php, line 2490 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function unserialize($serialized) { list($storage, $current_display, $args, $current_page, $exposed_input, $exposed_raw_input, $exposed_data, $dom_id, $executed) = unserialize($serialized); // There are cases, like in testing, where we don't have a container // available. if (\Drupal::has

ViewExecutable::setTitle

public ViewExecutable::setTitle($title) Overrides the view's current title. The tokens in the title get's replaced before rendering. Return value true Always returns TRUE. File core/modules/views/src/ViewExecutable.php, line 1843 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function setTitle($title) { $this->build_info['title'] = $title; return TRUE; }

ViewExecutable::setShowAdminLinks

public ViewExecutable::setShowAdminLinks($show_admin_links) Enables admin links on the rendered view. Parameters bool $show_admin_links: TRUE if the admin links should be shown. File core/modules/views/src/ViewExecutable.php, line 2371 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function setShowAdminLinks($show_admin_links) { $this->showAdminLinks = (bool) $show_admin_links; }

ViewExecutable::setResponse

public ViewExecutable::setResponse(Response $response) Sets the used response object of the view. Parameters \Symfony\Component\HttpFoundation\Response $response: The response object which should be set. File core/modules/views/src/ViewExecutable.php, line 1768 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function setResponse(Response $response) { $this->response = $response; }