a10ef84cbd208666efa78199e4e0c7e4e73e6883
[yaffs-website] / web / modules / contrib / entity_browser / src / Annotation / EntityBrowserWidgetSelector.php
1 <?php
2
3 namespace Drupal\entity_browser\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8  * Defines an entity browser widget selector annotation object.
9  *
10  * @see hook_entity_browser_widget_selector_info_alter()
11  *
12  * @Annotation
13  */
14 class EntityBrowserWidgetSelector extends Plugin {
15
16   /**
17    * The plugin ID.
18    *
19    * @var string
20    */
21   public $id;
22
23   /**
24    * The human-readable name of the widget selector.
25    *
26    * @ingroup plugin_translatable
27    *
28    * @var \Drupal\Core\Annotation\Translation
29    */
30   public $label;
31
32   /**
33    * A brief description of the widget selector.
34    *
35    * This will be shown when adding or configuring this widget selector.
36    *
37    * @ingroup plugin_translatable
38    *
39    * @var \Drupal\Core\Annotation\Translation (optional)
40    */
41   public $description = '';
42
43 }