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

ViewExecutable::getStyle

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

ViewExecutable::getTitle

public ViewExecutable::getTitle() Gets the view's current title. This can change depending upon how it was built. Return value string|false The view title, FALSE if the display is not set. File core/modules/views/src/ViewExecutable.php, line 1813 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getTitle() { if (empty($this->display_handler)) { if (!$this->setDisplay('default')) { return FALSE; } } // During build

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::getUrl

public ViewExecutable::getUrl($args = NULL, $display_id = NULL) Gets the URL for the current view. This URL will be adjusted for arguments. Parameters array $args: (optional) Passed in arguments. string $display_id: (optional) Specify the display ID to link to, fallback to the current ID. Return value \Drupal\Core\Url The URL of the current view. Throws \InvalidArgumentException Thrown when the current view doesn't have a route available. File core/modules/views/src/ViewExecutable.php, line

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::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::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::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; }