3 namespace Drupal\views\Annotation;
7 * Defines a Plugin annotation object for views access plugins.
9 * @see \Drupal\views\Plugin\views\access\AccessPluginBase
11 * @ingroup views_access_plugins
15 class ViewsAccess extends ViewsPluginAnnotationBase {
25 * The plugin title used in the views UI.
27 * @var \Drupal\Core\Annotation\Translation
29 * @ingroup plugin_translatable
34 * (optional) The short title used in the views UI.
36 * @var \Drupal\Core\Annotation\Translation
38 * @ingroup plugin_translatable
40 public $short_title = '';
43 * A short help string; this is displayed in the views UI.
45 * @var \Drupal\Core\Annotation\Translation
47 * @ingroup plugin_translatable
52 * The types of the display this plugin can be used with.
54 * For example the Feed display defines the type 'feed', so only rss style
55 * and row plugins can be used in the views UI.
59 public $display_types;
62 * The base tables on which this access plugin can be used.
64 * If no base table is specified the plugin can be used with all tables.
71 * Whether the plugin should be not selectable in the UI.
73 * If set to TRUE, you can still use it via the API in config files.