3 namespace Drupal\views\Annotation;
6 * Defines a Plugin annotation object for views access plugins.
8 * @see \Drupal\views\Plugin\views\access\AccessPluginBase
10 * @ingroup views_access_plugins
14 class ViewsAccess extends ViewsPluginAnnotationBase {
24 * The plugin title used in the views UI.
26 * @var \Drupal\Core\Annotation\Translation
28 * @ingroup plugin_translatable
33 * (optional) The short title used in the views UI.
35 * @var \Drupal\Core\Annotation\Translation
37 * @ingroup plugin_translatable
39 public $short_title = '';
42 * A short help string; this is displayed in the views UI.
44 * @var \Drupal\Core\Annotation\Translation
46 * @ingroup plugin_translatable
51 * The types of the display this plugin can be used with.
53 * For example the Feed display defines the type 'feed', so only rss style
54 * and row plugins can be used in the views UI.
58 public $display_types;
61 * The base tables on which this access plugin can be used.
63 * If no base table is specified the plugin can be used with all tables.
70 * Whether the plugin should be not selectable in the UI.
72 * If set to TRUE, you can still use it via the API in config files.