Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / src / Annotation / ConsentStorage.php
1 <?php
2
3 namespace Drupal\eu_cookie_compliance\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8  * Defines a consent storage annotation object.
9  *
10  * Plugin Namespace: Plugin\ConsentStorage.
11  *
12  * For a working example, see
13  * \Drupal\eu_cookie_compliance\Plugin\ConsentStorage\BasicConsentStorage/registerConsent
14  *
15  * @see hook_eu_cookie_compliance_consent_storage_info_alter()
16  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageInterface
17  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageBase
18  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageManager
19  * @see plugin_api
20  *
21  * @Annotation
22  */
23 class ConsentStorage extends Plugin {
24
25   /**
26    * The plugin ID.
27    *
28    * @var string
29    */
30   public $id;
31
32   /**
33    * The human-readable name of the consent storage.
34    *
35    * @var \Drupal\Core\Annotation\Translation
36    *
37    * @ingroup plugin_translatable
38    */
39   public $label;
40
41   /**
42    * A brief description of the consent storage.
43    *
44    * This will be shown when adding or configuring this consent storage.
45    *
46    * @var \Drupal\Core\Annotation\Translation
47    *
48    * @ingroup plugin_translatable
49    */
50   public $description = '';
51
52 }