Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / src / Plugin / ConsentStorageManagerInterface.php
1 <?php
2
3 namespace Drupal\eu_cookie_compliance\Plugin;
4
5 use Drupal\Component\Plugin\PluginManagerInterface;
6
7 /**
8  * Collects available consent storages.
9  */
10 interface ConsentStorageManagerInterface extends PluginManagerInterface {
11
12   /**
13    * Get all available eu_cookie_compliance storage plugin instances.
14    *
15    * @param array $configuration
16    *   Export configuration (aka export options).
17    *
18    * @return \Drupal\eu_cookie_compliance\Plugin\ConsentStorageInterface[]
19    *   An array of all available eu_cookie_compliance consent plugin instances.
20    */
21   public function getInstances(array $configuration = []);
22
23   /**
24    * Get consent storage plugins as options.
25    *
26    * @return array
27    *   An associative array of options keyed by plugin id.
28    */
29   public function getOptions();
30
31 }