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

public ViewExecutable::getHandler($display_id, $type, $id) Gets the configuration of a handler instance on a given display. Parameters string $display_id: The machine name of the display. string $type: The type of handler to retrieve. string $id: The ID of the handler to retrieve. Return value array|null Either the handler instance's configuration, or NULL if the handler is not used on the display. File core/modules/views/src/ViewExecutable.php, line 2272 Class ViewExecutable Represents

ViewExecutable::getExposedInput

public ViewExecutable::getExposedInput() Figures out what the exposed input for this view is. They will be taken from \Drupal::request()->query or from something previously set on the view. Return value string[] An array containing the exposed input values keyed by the filter and sort name. See also self::setExposedInput() File core/modules/views/src/ViewExecutable.php, line 675 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getExpos

ViewExecutable::getDisplay

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

ViewExecutable::getDependencies

public ViewExecutable::getDependencies() Gets dependencies for the view. Return value array An array of dependencies grouped by type (module, theme, entity). See also \Drupal\views\Entity\View::calculateDependencies() \Drupal\views\Entity\View::getDependencies() File core/modules/views/src/ViewExecutable.php, line 2465 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getDependencies() { return $this->storage->calculateDependencies

ViewExecutable::getCurrentPage

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

ViewExecutable::getCacheTags

public ViewExecutable::getCacheTags() Gets the cache tags associated with the executed view. Note: The cache plugin controls the used tags, so you can override it, if needed. Return value string[] An array of cache tags. File core/modules/views/src/ViewExecutable.php, line 1549 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getCacheTags() { $this->initDisplay(); /** @var \Drupal\views\Plugin\views\cache\CachePluginBase $cache */

ViewExecutable::getBaseTables

public ViewExecutable::getBaseTables() Creates a list of base tables to be used by the view. This is used primarily for the UI. The display must be already initialized. Return value array An array of base tables to be used by the view. File core/modules/views/src/ViewExecutable.php, line 959 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getBaseTables() { $base_tables = array( $this->storage->get('base_table') => TRUE,