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

Namespace

Drupal\views\Annotation

File

core/modules/views/src/Annotation/ViewsRow.php
View source
  1. <?php
  2. namespace Drupal\views\Annotation;
  3. /**
  4. * Defines a Plugin annotation object for views row plugins.
  5. *
  6. * @see \Drupal\views\Plugin\views\row\RowPluginBase
  7. *
  8. * @ingroup views_row_plugins
  9. *
  10. * @Annotation
  11. */
  12. class ViewsRow 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 theme function used to render the row output.
  45. *
  46. * @return string
  47. */
  48. public $theme;
  49. /**
  50. * The base tables on which this row plugin can be used.
  51. *
  52. * @var array
  53. */
  54. public $base;
  55. /**
  56. * The types of the display this plugin can be used with.
  57. *
  58. * For example the Feed display defines the type 'feed', so only rss style
  59. * and row plugins can be used in the views UI.
  60. *
  61. * @var array
  62. */
  63. public $display_types;
  64. /**
  65. * Whether the plugin should be not selectable in the UI.
  66. *
  67. * If it's set to TRUE, you can still use it via the API in config files.
  68. *
  69. * @var bool
  70. */
  71. public $no_ui;
  72. }

Classes

Namesort descending Description
ViewsRow Defines a Plugin annotation object for views row plugins.