public function ConsentStorageBase::__construct in EU Cookie Compliance (GDPR Compliance) 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ConsentStorageBase.php \Drupal\eu_cookie_compliance\Plugin\ConsentStorageBase::__construct()
Constructs a ConsentStorageBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides PluginBase::__construct
1 call to ConsentStorageBase::__construct()
- BasicConsentStorage::__construct in src/
Plugin/ ConsentStorage/ BasicConsentStorage.php - BasicConsentStorage constructor.
1 method overrides ConsentStorageBase::__construct()
- BasicConsentStorage::__construct in src/
Plugin/ ConsentStorage/ BasicConsentStorage.php - BasicConsentStorage constructor.
File
- src/
Plugin/ ConsentStorageBase.php, line 43
Class
- ConsentStorageBase
- Provides a base class for a consent storage.
Namespace
Drupal\eu_cookie_compliance\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configFactory = $config_factory;
}