views_ui_view_preview_section_display_category_links

views_ui_view_preview_section_display_category_links(ViewExecutable $view, $type, $title) Returns a link to editing a certain display setting. File core/modules/views_ui/views_ui.module, line 186 Provide structure for the administrative interface to Views. Code function views_ui_view_preview_section_display_category_links(ViewExecutable $view, $type, $title) { $display = $view->display_handler->display; $links = array( $type . '-edit' => array( 'title' => t('Edit @se

views_ui_view_preview_section_handler_links

views_ui_view_preview_section_handler_links(ViewExecutable $view, $type, $title = FALSE) Returns contextual links for each handler of a certain section. @TODO Bring in relationships Refactor this function to use much stuff of views_ui_edit_form_get_bucket. Parameters $title: Add a bolded title of this section. File core/modules/views_ui/views_ui.module, line 154 Provide structure for the administrative interface to Views. Code function views_ui_view_preview_section_handler_links(ViewExecutab

views_ui_view_preview_section_rows_links

views_ui_view_preview_section_rows_links(ViewExecutable $view) Returns all contextual links for the main content part of the view. File core/modules/views_ui/views_ui.module, line 202 Provide structure for the administrative interface to Views. Code function views_ui_view_preview_section_rows_links(ViewExecutable $view) { $links = array(); $links = array_merge($links, views_ui_view_preview_section_handler_links($view, 'filter', TRUE)); $links = array_merge($links, views_ui_view_preview_

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

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_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_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_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_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_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(); }