views_disable_view

views_disable_view(View $view) Disables and saves a view. Parameters \Drupal\views\Entity\View $view: The View object to disable. File core/modules/views/views.module, line 592 Primarily Drupal hooks and global API functions to manipulate views. Code function views_disable_view(View $view) { $view->disable()->save(); }

views_element_validate_tags

views_element_validate_tags($element, FormStateInterface $form_state) Validation callback for query tags. File core/modules/views/views.module, line 798 Primarily Drupal hooks and global API functions to manipulate views. Code function views_element_validate_tags($element, FormStateInterface $form_state) { $values = array_map('trim', explode(',', $element['#value'])); foreach ($values as $value) { if (preg_match("/[^a-z_]/", $value)) { $form_state->setError($element, t('The q

ViewsWizard::$short_title

(optional) The short title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsWizard.php, line 40 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

ViewsWizard::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsWizard.php, line 22 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $id;

ViewsWizard

Defines a Plugin annotation object for views wizard plugins. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsPluginAnnotationBase implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsWizard See also \Drupal\views\Plugin\views\wizard\WizardPluginBase \Drupal\views\Plugin\views\wizard\WizardInterface Related topics Annotations Annotations for class discovery and metadata description. Views wizard plugins Plug

ViewsStyle::$theme

The theme function used to render the style output. Type: string File core/modules/views/src/Annotation/ViewsStyle.php, line 55 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $theme;

ViewsStyle::$short_title

(optional) The short title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsStyle.php, line 39 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

ViewsWizard::$base_table

The base tables on which this wizard is used. Type: array File core/modules/views/src/Annotation/ViewsWizard.php, line 47 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $base_table;

ViewsStyle::$title

The plugin title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsStyle.php, line 30 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $title = '';

ViewsStyle::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsStyle.php, line 48 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $help = '';