Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / src / Plugin / ConsentStorageInterface.php
diff --git a/web/modules/contrib/eu_cookie_compliance/src/Plugin/ConsentStorageInterface.php b/web/modules/contrib/eu_cookie_compliance/src/Plugin/ConsentStorageInterface.php
new file mode 100644 (file)
index 0000000..bf7d24a
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+
+namespace Drupal\eu_cookie_compliance\Plugin;
+
+use Drupal\Component\Plugin\PluginInspectionInterface;
+use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
+
+/**
+ * Defines the interface for consent storages.
+ *
+ * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageBase
+ * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageManager
+ * @see \Drupal\eu_cookie_compliance\Plugin\ConsentStorageManagerInterface
+ * @see plugin_api
+ */
+interface ConsentStorageInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {
+
+  /**
+   * Returns the consent storage label.
+   *
+   * @return string
+   *   The consent storage label.
+   */
+  public function label();
+
+  /**
+   * Returns the consent storage description.
+   *
+   * @return string
+   *   The consent storage description.
+   */
+  public function description();
+
+}