public function LicenseTypeBase::setConfiguration in Commerce License 8.2
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
1 call to LicenseTypeBase::setConfiguration()
- LicenseTypeBase::__construct in src/
Plugin/ Commerce/ LicenseType/ LicenseTypeBase.php - Constructs a new plugin instance.
File
- src/
Plugin/ Commerce/ LicenseType/ LicenseTypeBase.php, line 84
Class
- LicenseTypeBase
- Provides the base license type class.
Namespace
Drupal\commerce_license\Plugin\Commerce\LicenseTypeCode
public function setConfiguration(array $configuration) {
$this->configuration = NestedArray::mergeDeep($this
->defaultConfiguration(), $configuration);
}