views_ui_contextual_links_suppress_pop

views_ui_contextual_links_suppress_pop() Decrements the views_ui_contextual_links_suppress() static variable. See also views_ui_contextual_links_suppress_push() File core/modules/views_ui/views_ui.module, line 281 Provide structure for the administrative interface to Views. Code function views_ui_contextual_links_suppress_pop() { views_ui_contextual_links_suppress(((int) views_ui_contextual_links_suppress()) - 1); }

views_ui.module

Provide structure for the administrative interface to Views. File core/modules/views_ui/views_ui.module Functions Name Description views_ui_contextual_links_suppress Sets a static variable for controlling whether contextual links are rendered. views_ui_contextual_links_suppress_pop Decrements the views_ui_contextual_links_suppress() static variable. views_ui_contextual_links_suppress_push Increments the views_ui_contextual_links_suppress() static variable. views_ui_contextua

views_ui_add_ajax_trigger

views_ui_add_ajax_trigger(&$wrapping_element, $trigger_key, $refresh_parents) Converts a form element in the add view wizard to be AJAX-enabled. This function takes a form element and adds AJAX behaviors to it such that changing it triggers another part of the form to update automatically. It also adds a submit button to the form that appears next to the triggering element and that duplicates its functionality for users who do not have JavaScript enabled (the button is automatically hidden

views_ui.theme.inc

Preprocessors and theme functions for the Views UI. File core/modules/views_ui/views_ui.theme.inc Functions Name Description template_preprocess_views_ui_build_group_filter_form Prepares variables for Views UI build group filter form templates. template_preprocess_views_ui_display_tab_bucket Prepares variables for Views UI display tab bucket templates. template_preprocess_views_ui_display_tab_setting Prepares variables for Views UI display tab setting templates. template_pre

views_theme_suggestions_container_alter

views_theme_suggestions_container_alter(array &$suggestions, array $variables) Implements hook_theme_suggestions_HOOK_alter(). File core/modules/views/views.module, line 289 Primarily Drupal hooks and global API functions to manipulate views. Code function views_theme_suggestions_container_alter(array &$suggestions, array $variables) { if (!empty($variables['element']['#type']) && $variables['element']['#type'] == 'more_link' && !empty($variables['element']['#view'])

views_theme_suggestions_node_alter

views_theme_suggestions_node_alter(array &$suggestions, array $variables) Implements hook_theme_suggestions_HOOK_alter(). File core/modules/views/views.module, line 251 Primarily Drupal hooks and global API functions to manipulate views. Code function views_theme_suggestions_node_alter(array &$suggestions, array $variables) { $node = $variables['elements']['#node']; if (!empty($node->view) && $node->view->storage->id()) { $suggestions[] = 'node__view__' . $

views_set_current_view

&views_set_current_view($view = NULL) Set the current 'current view' that is being built/rendered so that it is easy for other modules or items in drupal_eval to identify Return value \Drupal\views\ViewExecutable File core/modules/views/views.module, line 485 Primarily Drupal hooks and global API functions to manipulate views. Code function &views_set_current_view($view = NULL) { static $cache = NULL; if (isset($view)) { $cache = $view; } return $cache; }

views_theme_suggestions_comment_alter

views_theme_suggestions_comment_alter(array &$suggestions, array $variables) Implements hook_theme_suggestions_HOOK_alter(). File core/modules/views/views.module, line 276 Primarily Drupal hooks and global API functions to manipulate views. Code function views_theme_suggestions_comment_alter(array &$suggestions, array $variables) { $comment = $variables['elements']['#comment']; if (!empty($comment->view) && $comment->view->storage->id()) { $suggestions[] =

views_query_views_alter

views_query_views_alter(AlterableInterface $query) Implements hook_query_TAG_alter(). This is the hook_query_alter() for queries tagged by Views and is used to add in substitutions from hook_views_query_substitutions(). File core/modules/views/views.module, line 655 Primarily Drupal hooks and global API functions to manipulate views. Code function views_query_views_alter(AlterableInterface $query) { $substitutions = $query->getMetaData('views_substitutions'); $tables = &$query->

views_theme

views_theme($existing, $type, $theme, $path) Implements hook_theme(). Register views theming functions and those that are defined via views plugin definitions. File core/modules/views/views.module, line 84 Primarily Drupal hooks and global API functions to manipulate views. Code function views_theme($existing, $type, $theme, $path) { \Drupal::moduleHandler()->loadInclude('views', 'inc', 'views.theme'); // Some quasi clever array merging here. $base = array( 'file' => 'views.t