public function LicenseTypeInterface::setConfigurationValuesOnLicense in Commerce License 8.2
Copy configuration values to a license entity.
This does not save the license; it is the caller's responsibility to do so.
This should only be called on a plugin which has configuration. It should not be called on a plugin obtained from LicenseInterface::getTypePlugin(), as that has no configuration.
Parameters
\Drupal\commerce_license\Entity\LicenseInterface $license: The license entity.
1 method overrides LicenseTypeInterface::setConfigurationValuesOnLicense()
- LicenseTypeBase::setConfigurationValuesOnLicense in src/
Plugin/ Commerce/ LicenseType/ LicenseTypeBase.php - Copy configuration values to a license entity.
File
- src/
Plugin/ Commerce/ LicenseType/ LicenseTypeInterface.php, line 80
Class
- LicenseTypeInterface
- Defines the interface for license types.
Namespace
Drupal\commerce_license\Plugin\Commerce\LicenseTypeCode
public function setConfigurationValuesOnLicense(LicenseInterface $license);