ViewUI::$changed

If this view has been changed. Type: bool File core/modules/views_ui/src/ViewUI.php, line 64 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $changed;

ViewUI::$additionalQueries

Stores a list of database queries run beside the main one from views. Type: array See also \Drupal\Core\Database\Log File core/modules/views_ui/src/ViewUI.php, line 103 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code protected $additionalQueries;

ViewUI

Stores UI related temporary settings. Hierarchy class \Drupal\views_ui\ViewUI implements ViewEntityInterface File core/modules/views_ui/src/ViewUI.php, line 25 Namespace Drupal\views_ui Members Name Modifiers Type Description ViewUI::$additionalQueries protected property Stores a list of database queries run beside the main one from views. ViewUI::$changed public property If this view has been changed. ViewUI::$changed_display public property Stores an ar

views_view_is_enabled

views_view_is_enabled(View $view) Returns whether the view is enabled. Parameters \Drupal\views\Entity\View $view: The view object to check. Return value bool Returns TRUE if a view is enabled, FALSE otherwise. File core/modules/views/views.module, line 559 Primarily Drupal hooks and global API functions to manipulate views. Code function views_view_is_enabled(View $view) { return $view->status(); }

views_view_is_disabled

views_view_is_disabled(View $view) Returns whether the view is disabled. Parameters \Drupal\views\Entity\View $view: The view object to check. Return value bool Returns TRUE if a view is disabled, FALSE otherwise. File core/modules/views/views.module, line 572 Primarily Drupal hooks and global API functions to manipulate views. Code function views_view_is_disabled(View $view) { return !$view->status(); }

views_view_delete

views_view_delete(EntityInterface $entity) Implements hook_ENTITY_TYPE_delete(). File core/modules/views/views.module, line 820 Primarily Drupal hooks and global API functions to manipulate views. Code function views_view_delete(EntityInterface $entity) { // Rebuild the routes in case there is a routed display. $executable = Views::executableFactory()->get($entity); $executable->initDisplay(); foreach ($executable->displayHandlers as $display) { if ($display->getRouted

views_views_query_substitutions

views_views_query_substitutions(ViewExecutable $view) Implements hook_views_query_substitutions(). Makes the following substitutions: Current time. Drupal version. Special language codes; see \Drupal\views\Plugin\views\PluginBase::listLanguages(). File core/modules/views/views.views_execution.inc, line 20 Provides views runtime hooks for views.module. Code function views_views_query_substitutions(ViewExecutable $view) { $substitutions = array( '***CURRENT_VERSION***' => \Drupal::VE

views_views_pre_render

views_views_pre_render($view) Implements hook_views_pre_render(). File core/modules/views/views.module, line 53 Primarily Drupal hooks and global API functions to manipulate views. Code function views_views_pre_render($view) { // If using AJAX, send identifying data about this view. if ($view->ajaxEnabled() && empty($view->is_attachment) && empty($view->live_preview)) { $view->element['#attached']['drupalSettings']['views'] = array( 'ajax_path' =>

views_views_data_alter

views_views_data_alter(&$data) Implements hook_views_data_alter(). Field modules can implement hook_field_views_data_views_data_alter() to alter the views data on a per field basis. This is weirdly named so as not to conflict with the \Drupal::moduleHandler()->alter('field_views_data') in views_views_data(). File core/modules/views/views.views.inc, line 207 Provide views data that isn't tied to any other module. Code function views_views_data_alter(&$data) { $entity_manager = \Dr

views_views_data

views_views_data() Implements hook_views_data(). File core/modules/views/views.views.inc, line 19 Provide views data that isn't tied to any other module. Code function views_views_data() { $data['views']['table']['group'] = t('Global'); $data['views']['table']['join'] = array( // #global is a special flag which allows a table to appear all the time. '#global' => array(), ); $data['views']['random'] = array( 'title' => t('Random'), 'help' => t('Randomize the d