Views::getDisabledViews

public static Views::getDisabledViews() Returns an array of all disabled views. Return value \Drupal\views\Entity\View[] An array of loaded disabled view entities. File core/modules/views/src/Views.php, line 268 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function getDisabledViews() { $query = \Drupal::entityQuery('view') ->condition('status', FALSE) ->execute(); return \Drupal::entityManager()->getStorage('vi

Views::getApplicableViews

public static Views::getApplicableViews($type) Return a list of all view IDs and display IDs that have a particular setting in their display's plugin settings. array( array($view_id, $display_id), array($view_id, $display_id), ); Parameters string $type: A flag from the display plugin definitions (e.g, 'uses_menu_links'). Return value array A list of arrays containing the $view_id and $display_id. File core/modules/views/src/Views.php, line 205 Class Views Static service container w

Views::getAllViews

public static Views::getAllViews() Returns an array of all views as fully loaded $view objects. Return value \Drupal\views\Entity\View[] An array of loaded view entities. File core/modules/views/src/Views.php, line 244 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function getAllViews() { return \Drupal::entityManager()->getStorage('view')->loadMultiple(); }

Views::executableFactory

public static Views::executableFactory() Returns the view executable factory service. Return value \Drupal\views\ViewExecutableFactory Returns a views executable factory. File core/modules/views/src/Views.php, line 77 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function executableFactory() { return \Drupal::service('views.executable'); }

Views::analyzer

public static Views::analyzer() Returns the view analyzer. Return value \Drupal\views\Analyzer Returns a view analyzer object. File core/modules/views/src/Views.php, line 87 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function analyzer() { return \Drupal::service('views.analyzer'); }

Views::$translationManager

The translation manager. Type: \Drupal\Core\StringTranslation\TranslationInterface File core/modules/views/src/Views.php, line 15 Class Views Static service container wrapper for views. Namespace Drupal\views Code protected static $translationManager;

Views::$handlerTypes

A static cache for handler types data. Type: array File core/modules/views/src/Views.php, line 22 Class Views Static service container wrapper for views. Namespace Drupal\views Code protected static $handlerTypes;

views.views_execution.inc

Provides views runtime hooks for views.module. File core/modules/views/views.views_execution.inc Functions Name Description views_views_query_substitutions Implements hook_views_query_substitutions().

views.views.inc

Provide views data that isn't tied to any other module. File core/modules/views/views.views.inc Functions Name Description core_field_views_data Implements hook_field_views_data(). views_entity_field_label Returns the label of a certain field. views_field_default_views_data Default views data implementation for a field. views_views_data Implements hook_views_data(). views_views_data_alter Implements hook_views_data_alter(). _views_field_get_entity_type_storage Dete

views.theme.inc

Preprocessors and helper functions to make theming easier. File core/modules/views/views.theme.inc Functions Name Description template_preprocess_views_exposed_form Prepares variables for views exposed form templates. template_preprocess_views_mini_pager Prepares variables for views mini-pager templates. template_preprocess_views_view Prepares variables for view templates. template_preprocess_views_view_field Prepares variables for views field templates. template_preproc