ViewExecutable::getHandlers

public ViewExecutable::getHandlers($type, $display_id = NULL) Gets an array of handler instances for the current display. Parameters string $type: The type of handlers to retrieve. string $display_id: (optional) A specific display machine name to use. If NULL, the current display will be used. Return value array An array of handler instances of a given type for this display. File core/modules/views/src/ViewExecutable.php, line 2237 Class ViewExecutable Represents a view as a whole. Nam

ViewExecutable::getHandlerTypes

public static ViewExecutable::getHandlerTypes() Provides a list of views handler types used in a view. This also provides some information about the views handler types. Return value array An array of associative arrays containing: title: The title of the handler type. ltitle: The lowercase title of the handler type. stitle: A singular title of the handler type. lstitle: A singular lowercase title of the handler type. plural: Plural version of the handler type. (optional) type: The actua

ViewExecutable::getItemsPerPage

public ViewExecutable::getItemsPerPage() Gets the items per page from the pager. Return value int The items per page. File core/modules/views/src/ViewExecutable.php, line 548 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getItemsPerPage() { // If the pager is already initialized, pass it through to the pager. if (!empty($this->pager)) { return $this->pager->getItemsPerPage(); } if (isset($this->items_per_page))

ViewExecutable::getOffset

public ViewExecutable::getOffset() Gets the pager offset from the pager. Return value int The pager offset. File core/modules/views/src/ViewExecutable.php, line 585 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getOffset() { // If the pager is already initialized, pass it through to the pager. if (!empty($this->pager)) { return $this->pager->getOffset(); } if (isset($this->offset)) { return $this->offset;

ViewExecutable::getPager

public ViewExecutable::getPager() Gets the current pager plugin. Return value \Drupal\views\Plugin\views\pager\PagerPluginBase The current pager plugin. File core/modules/views/src/ViewExecutable.php, line 900 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getPager() { if (!isset($this->pager)) { $this->initPager(); } return $this->pager; }

ViewExecutable::getPath

public ViewExecutable::getPath() Gets the base path used for this view. Return value string|false The base path used for the view or FALSE if setting the display fails. File core/modules/views/src/ViewExecutable.php, line 2011 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getPath() { if (!empty($this->override_path)) { return $this->override_path; } if (empty($this->display_handler)) { if (!$this->setDisplay('

ViewExecutable::getQuery

public ViewExecutable::getQuery() Gets the current query plugin. Return value \Drupal\views\Plugin\views\query\QueryPluginBase The current query plugin. File core/modules/views/src/ViewExecutable.php, line 1139 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getQuery() { if (!isset($this->query)) { $this->initQuery(); } return $this->query; }

ViewExecutable::getRequest

public ViewExecutable::getRequest() Gets the request object. Return value \Symfony\Component\HttpFoundation\Request The request object. File core/modules/views/src/ViewExecutable.php, line 1801 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getRequest() { return $this->request; }

ViewExecutable::getResponse

public ViewExecutable::getResponse() Gets the response object used by the view. Return value \Symfony\Component\HttpFoundation\Response The response object of the view. File core/modules/views/src/ViewExecutable.php, line 1778 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getResponse() { if (!isset($this->response)) { $this->response = new Response(); } return $this->response; }

ViewExecutable::getShowAdminLinks

public ViewExecutable::getShowAdminLinks() Returns whether admin links should be rendered on the view. Return value bool TRUE if admin links should be rendered, else FALSE. File core/modules/views/src/ViewExecutable.php, line 2381 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getShowAdminLinks() { if (!isset($this->showAdminLinks)) { return $this->getDisplay()->getOption('show_admin_links'); } return $this->showAdm