Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / src / Plugin / ConsentStorageInterface.php
1 <?php
2
3 namespace Drupal\eu_cookie_compliance\Plugin;
4
5 use Drupal\Component\Plugin\PluginInspectionInterface;
6 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
7
8 /**
9  * Defines the interface for consent storages.
10  *
11  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageBase
12  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageManager
13  * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageManagerInterface
14  * @see plugin_api
15  */
16 interface ConsentStorageInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {
17
18   /**
19    * Returns the consent storage label.
20    *
21    * @return string
22    *   The consent storage label.
23    */
24   public function label();
25
26   /**
27    * Returns the consent storage description.
28    *
29    * @return string
30    *   The consent storage description.
31    */
32   public function description();
33
34 }