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

Namespace

Drupal\views\Annotation

File

core/modules/views/src/Annotation/ViewsQuery.php
View source
  1. <?php
  2. namespace Drupal\views\Annotation;
  3. /**
  4. * Defines a Plugin annotation object for views query plugins.
  5. *
  6. * @see \Drupal\views\Plugin\views\query\QueryPluginBase
  7. *
  8. * @ingroup views_query_plugins
  9. *
  10. * @Annotation
  11. */
  12. class ViewsQuery 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. * Whether the plugin should be not selectable in the UI.
  45. *
  46. * If it's set to TRUE, you can still use it via the API in config files.
  47. *
  48. * @var bool
  49. */
  50. public $no_ui;
  51. }

Classes

Namesort descending Description
ViewsQuery Defines a Plugin annotation object for views query plugins.