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

Namespace

Drupal\views\Annotation

File

core/modules/views/src/Annotation/ViewsArgumentValidator.php
View source
  1. <?php
  2. namespace Drupal\views\Annotation;
  3. /**
  4. * Defines a Plugin annotation object for views argument validator plugins.
  5. *
  6. * @see \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase
  7. *
  8. * @ingroup views_argument_validate_plugins
  9. *
  10. * @Annotation
  11. */
  12. class ViewsArgumentValidator 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. * Whether the plugin should be not selectable in the UI.
  37. *
  38. * If it's set to TRUE, you can still use it via the API in config files.
  39. *
  40. * @var bool
  41. */
  42. public $no_ui;
  43. }

Classes

Namesort descending Description
ViewsArgumentValidator Defines a Plugin annotation object for views argument validator plugins.