public function CookieContentBlocker::__construct in Cookie Content Blocker 8
Constructs the Cookie Conten Blocked CKEditor Plugin.
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.
Overrides PluginBase::__construct
File
- src/
Plugin/ CKEditorPlugin/ CookieContentBlocker.php, line 39
Class
- CookieContentBlocker
- Defines the DraftText CKEditor plugin.
Namespace
Drupal\cookie_content_blocker\Plugin\CKEditorPluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->modulePath = drupal_get_path('module', 'cookie_content_blocker');
}