public function Role::defaultConfiguration in Commerce License 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides LicenseTypeBase::defaultConfiguration
File
- src/
Plugin/ Commerce/ LicenseType/ Role.php, line 38
Class
- Role
- Provides a license type which grants one or more roles.
Namespace
Drupal\commerce_license\Plugin\Commerce\LicenseTypeCode
public function defaultConfiguration() {
return [
'license_role' => '',
] + parent::defaultConfiguration();
}