interface LicenseTypeSynchronizableInterface in Commerce License 8.2
Defines the interface for license types.
Hierarchy
- interface \Drupal\entity\BundlePlugin\BundlePluginInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\commerce_license\Plugin\Commerce\LicenseType\LicenseTypeInterface
- interface \Drupal\commerce_license\Plugin\Commerce\LicenseType\LicenseTypeSynchronizableInterface
- interface \Drupal\commerce_license\Plugin\Commerce\LicenseType\LicenseTypeInterface
Expanded class hierarchy of LicenseTypeSynchronizableInterface
All classes that implement LicenseTypeSynchronizableInterface
File
- src/
Plugin/ Commerce/ LicenseType/ LicenseTypeSynchronizableInterface.php, line 10
Namespace
Drupal\commerce_license\Plugin\Commerce\LicenseTypeView source
interface LicenseTypeSynchronizableInterface extends LicenseTypeInterface {
/**
* Gets the license type label.
*
* @return string
* The license type label.
*/
public function getLabel();
/**
* Builds a label for the given license.
*
* @param \Drupal\commerce_license\Entity\LicenseInterface $license
* The license type.
*
* @return string
* The label.
*/
public function buildLabel(LicenseInterface $license);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BundlePluginInterface:: |
public | function | Builds the field definitions for entities of this bundle. | 2 |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
LicenseTypeInterface:: |
public | function | Gets the workflow ID this this license type should use. | 1 |
LicenseTypeInterface:: |
public | function | Reacts to the license being activated. | 2 |
LicenseTypeInterface:: |
public | function | Reacts to the license being revoked. | 2 |
LicenseTypeInterface:: |
public | function | Copy configuration values to a license entity. | 1 |
LicenseTypeSynchronizableInterface:: |
public | function |
Builds a label for the given license. Overrides LicenseTypeInterface:: |
|
LicenseTypeSynchronizableInterface:: |
public | function |
Gets the license type label. Overrides LicenseTypeInterface:: |
|
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |