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_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_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_views_analyze

views_ui_views_analyze(ViewExecutable $view) Implements hook_views_analyze(). This is the basic views analysis that checks for very minimal problems. There are other analysis tools in core specific sections, such as node.views.inc as well. File core/modules/views_ui/views_ui.module, line 292 Provide structure for the administrative interface to Views. Code function views_ui_views_analyze(ViewExecutable $view) { $ret = array(); // Check for something other than the default display: if (c

views_ui_truncate

views_ui_truncate($string, $length) Truncate strings to a set length and provide a '...' if they truncated. This is often used in the UI to ensure long strings fit. File core/modules/views_ui/views_ui.module, line 321 Provide structure for the administrative interface to Views. Code function views_ui_truncate($string, $length) { if (Unicode::strlen($string) > $length) { $string = Unicode::substr($string, 0, $length); $string .= '...'; } return $string; }

views_ui_theme_suggestions_views_ui_view_preview_section

views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/views_ui/views_ui.theme.inc, line 528 Preprocessors and theme functions for the Views UI. Code function views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) { return array('views_ui_view_preview_section__' . $variables['section']); }

views_ui_theme

views_ui_theme() Implements hook_theme(). File core/modules/views_ui/views_ui.module, line 63 Provide structure for the administrative interface to Views. Code function views_ui_theme() { return array( // edit a view 'views_ui_display_tab_setting' => array( 'variables' => array('description' => '', 'link' => '', 'settings_links' => array(), 'overridden' => FALSE, 'defaulted' => FALSE, 'description_separator' => TRUE, 'class' => array()), 'file'

views_ui_standard_display_dropdown

views_ui_standard_display_dropdown(&$form, FormStateInterface $form_state, $section) Add a <select> dropdown for a given section, allowing the user to change whether this info is stored on the default display or on the current display. File core/modules/views_ui/admin.inc, line 207 Provides the Views' administrative interface. Code function views_ui_standard_display_dropdown(&$form, FormStateInterface $form_state, $section) { $view = $form_state->get('view'); $display_id

views_ui_preprocess_views_view

views_ui_preprocess_views_view(&$variables) Implements hook_preprocess_HOOK() for views templates. File core/modules/views_ui/views_ui.module, line 119 Provide structure for the administrative interface to Views. Code function views_ui_preprocess_views_view(&$variables) { $view = $variables['view']; // Render title for the admin preview. if (!empty($view->live_preview)) { $variables['title']['#markup'] = $view->getTitle(); } if (!empty($view->live_preview) &am

views_ui_nojs_submit

views_ui_nojs_submit($form, FormStateInterface $form_state) Non-Javascript fallback for updating the add view form. File core/modules/views_ui/admin.inc, line 198 Provides the Views' administrative interface. Code function views_ui_nojs_submit($form, FormStateInterface $form_state) { $form_state->setRebuild(); }