You are here

public function CdnBase::__construct in Libraries CDN API 8

Constructs a \Drupal\Component\Plugin\PluginBase 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.

Overrides PluginBase::__construct

2 calls to CdnBase::__construct()
CdnJs::__construct in src/Plugin/LibrariesCdn/CdnJs.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
JSDelivr::__construct in src/Plugin/LibrariesCdn/JsDelivr.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
2 methods override CdnBase::__construct()
CdnJs::__construct in src/Plugin/LibrariesCdn/CdnJs.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
JSDelivr::__construct in src/Plugin/LibrariesCdn/JsDelivr.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/CdnBase.php, line 18
Class CdnBase.

Class

CdnBase
Class CdnBase.

Namespace

Drupal\libraries_cdn

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}