comparison core/modules/views/src/Annotation/ViewsRow.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 <?php
2
3 namespace Drupal\views\Annotation;
4
5 /**
6 * Defines a Plugin annotation object for views row plugins.
7 *
8 * @see \Drupal\views\Plugin\views\row\RowPluginBase
9 *
10 * @ingroup views_row_plugins
11 *
12 * @Annotation
13 */
14 class ViewsRow extends ViewsPluginAnnotationBase {
15
16 /**
17 * The plugin ID.
18 *
19 * @var string
20 */
21 public $id;
22
23 /**
24 * The plugin title used in the views UI.
25 *
26 * @var \Drupal\Core\Annotation\Translation
27 *
28 * @ingroup plugin_translatable
29 */
30 public $title = '';
31
32 /**
33 * (optional) The short title used in the views UI.
34 *
35 * @var \Drupal\Core\Annotation\Translation
36 *
37 * @ingroup plugin_translatable
38 */
39 public $short_title = '';
40
41 /**
42 * A short help string; this is displayed in the views UI.
43 *
44 * @var \Drupal\Core\Annotation\Translation
45 *
46 * @ingroup plugin_translatable
47 */
48 public $help = '';
49
50 /**
51 * The theme function used to render the row output.
52 *
53 * @var string
54 */
55 public $theme;
56
57 /**
58 * The base tables on which this row plugin can be used.
59 *
60 * @var array
61 */
62 public $base;
63
64 /**
65 * The types of the display this plugin can be used with.
66 *
67 * For example the Feed display defines the type 'feed', so only rss style
68 * and row plugins can be used in the views UI.
69 *
70 * @var array
71 */
72 public $display_types;
73
74 /**
75 * Whether the plugin should be not selectable in the UI.
76 *
77 * If it's set to TRUE, you can still use it via the API in config files.
78 *
79 * @var bool
80 */
81 public $no_ui;
82
83 }