You are here

interface ConsentStorageManagerInterface in EU Cookie Compliance (GDPR Compliance) 8

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

Collects available consent storages.

Hierarchy

Expanded class hierarchy of ConsentStorageManagerInterface

All classes that implement ConsentStorageManagerInterface

File

src/Plugin/ConsentStorageManagerInterface.php, line 10

Namespace

Drupal\eu_cookie_compliance\Plugin
View source
interface ConsentStorageManagerInterface extends PluginManagerInterface {

  /**
   * Get all available eu_cookie_compliance storage plugin instances.
   *
   * @param array $configuration
   *   Export configuration (aka export options).
   *
   * @return \Drupal\eu_cookie_compliance\Plugin\ConsentStorageInterface[]
   *   An array of all available eu_cookie_compliance consent plugin instances.
   */
  public function getInstances(array $configuration = []);

  /**
   * Get consent storage plugins as options.
   *
   * @return array
   *   An associative array of options keyed by plugin id.
   */
  public function getOptions();

}

Members

Namesort descending Modifiers Type Description Overrides
ConsentStorageManagerInterface::getInstances public function Get all available eu_cookie_compliance storage plugin instances.
ConsentStorageManagerInterface::getOptions public function Get consent storage plugins as options.
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 7
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4