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::$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/ViewsWizard.php, line 31 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $title = '';

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

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

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::$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 = '';

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::$display_types

The types of the display this plugin can be used with. For example the Feed display defines the type 'feed', so only rss style and row plugins can be used in the views UI. Type: array File core/modules/views/src/Annotation/ViewsStyle.php, line 65 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $display_types;