1. 8.3.x core/modules/views/src/Annotation/ViewsCache.php
  2. 8.0.x core/modules/views/src/Annotation/ViewsCache.php
  3. 8.1.x core/modules/views/src/Annotation/ViewsCache.php
  4. 8.2.x core/modules/views/src/Annotation/ViewsCache.php
  5. 8.4.x core/modules/views/src/Annotation/ViewsCache.php

Namespace

Drupal\views\Annotation

File

core/modules/views/src/Annotation/ViewsCache.php
View source
  1. <?php
  2. namespace Drupal\views\Annotation;
  3. /**
  4. * Defines a Plugin annotation object for views cache plugins.
  5. *
  6. * @see \Drupal\views\Plugin\views\cache\CachePluginBase
  7. *
  8. * @ingroup views_cache_plugins
  9. *
  10. * @Annotation
  11. */
  12. class ViewsCache extends ViewsPluginAnnotationBase {
  13. /**
  14. * The plugin ID.
  15. *
  16. * @var string
  17. */
  18. public $id;
  19. /**
  20. * The plugin title used in the views UI.
  21. *
  22. * @var \Drupal\Core\Annotation\Translation
  23. *
  24. * @ingroup plugin_translatable
  25. */
  26. public $title = '';
  27. /**
  28. * (optional) The short title used in the views UI.
  29. *
  30. * @var \Drupal\Core\Annotation\Translation
  31. *
  32. * @ingroup plugin_translatable
  33. */
  34. public $short_title = '';
  35. /**
  36. * A short help string; this is displayed in the views UI.
  37. *
  38. * @var \Drupal\Core\Annotation\Translation
  39. *
  40. * @ingroup plugin_translatable
  41. */
  42. public $help = '';
  43. /**
  44. * The types of the display this plugin can be used with.
  45. *
  46. * For example the Feed display defines the type 'feed', so only rss style
  47. * and row plugins can be used in the views UI.
  48. *
  49. * @var array
  50. */
  51. public $display_types;
  52. /**
  53. * The base tables on which this cache plugin can be used.
  54. *
  55. * If no base table is specified the plugin can be used with all tables.
  56. *
  57. * @var array
  58. */
  59. public $base;
  60. /**
  61. * Whether the plugin should be not selectable in the UI.
  62. *
  63. * If it's set to TRUE, you can still use it via the API in config files.
  64. *
  65. * @var bool
  66. */
  67. public $no_ui;
  68. }

Classes

Namesort descending Description
ViewsCache Defines a Plugin annotation object for views cache plugins.