You are here

public function LicenseTypeBase::__construct in Commerce License 8.2

Constructs a new plugin instance.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The pluginId for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

src/Plugin/Commerce/LicenseType/LicenseTypeBase.php, line 25

Class

LicenseTypeBase
Provides the base license type class.

Namespace

Drupal\commerce_license\Plugin\Commerce\LicenseType

Code

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