Views::viewsData

public static Views::viewsData() Returns the views data service. Return value \Drupal\views\ViewsData Returns a views data cache object. File core/modules/views/src/Views.php, line 57 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function viewsData() { return \Drupal::service('views.views_data'); }

Views::viewsDataHelper

public static Views::viewsDataHelper() Returns the views data helper service. Return value \Drupal\views\ViewsData Returns a views data helper object. File core/modules/views/src/Views.php, line 67 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function viewsDataHelper() { return \Drupal::service('views.views_data_helper'); }

ViewsAccess

Defines a Plugin annotation object for views access plugins. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsPluginAnnotationBase implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsAccess See also \Drupal\views\Plugin\views\access\AccessPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views access plugins Plugins to handle access checking for views. File co

ViewsAccess::$base

The base tables on which this access plugin can be used. If no base table is specified the plugin can be used with all tables. Type: array File core/modules/views/src/Annotation/ViewsAccess.php, line 68 Class ViewsAccess Defines a Plugin annotation object for views access plugins. Namespace Drupal\views\Annotation Code public $base;

ViewsAccess::$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/ViewsAccess.php, line 59 Class ViewsAccess Defines a Plugin annotation object for views access plugins. Namespace Drupal\views\Annotation Code public $display_types;

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

ViewsAccess::$id

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

ViewsAccess::$no_ui

Whether the plugin should be not selectable in the UI. If set to TRUE, you can still use it via the API in config files. Type: bool File core/modules/views/src/Annotation/ViewsAccess.php, line 77 Class ViewsAccess Defines a Plugin annotation object for views access plugins. Namespace Drupal\views\Annotation Code public $no_ui;

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

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