comparison core/modules/views/src/Annotation/ViewsArgumentValidator.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 argument validator plugins.
7 *
8 * @see \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase
9 *
10 * @ingroup views_argument_validate_plugins
11 *
12 * @Annotation
13 */
14 class ViewsArgumentValidator 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 * Whether the plugin should be not selectable in the UI.
43 *
44 * If it's set to TRUE, you can still use it via the API in config files.
45 *
46 * @var bool
47 */
48 public $no_ui;
49
50 }