You are here

interface ConsentStorageInterface in EU Cookie Compliance (GDPR Compliance) 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/ConsentStorageInterface.php \Drupal\eu_cookie_compliance\Plugin\ConsentStorageInterface

Defines the interface for consent storages.

Hierarchy

Expanded class hierarchy of ConsentStorageInterface

All classes that implement ConsentStorageInterface

See also

\Drupal\eu_cookie_compliance\Plugin\ConsentStorageBase

\Drupal\eu_cookie_compliance\Plugin\ConsentStorageManager

\Drupal\eu_cookie_compliance\Plugin\ConsentStorageManagerInterface

Plugin API

File

src/Plugin/ConsentStorageInterface.php, line 16

Namespace

Drupal\eu_cookie_compliance\Plugin
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
ConsentStorageInterface::description public function Returns the consent storage description. 1
ConsentStorageInterface::label public function Returns the consent storage label. 1
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 112
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2