You are here

interface LicenseTypeSynchronizableInterface in Commerce License 8.2

Defines the interface for license types.

Hierarchy

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\LicenseType
View 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

Namesort descending Modifiers Type Description Overrides
BundlePluginInterface::buildFieldDefinitions public function Builds the field definitions for entities of this bundle. 2
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
LicenseTypeInterface::getWorkflowId public function Gets the workflow ID this this license type should use. 1
LicenseTypeInterface::grantLicense public function Reacts to the license being activated. 2
LicenseTypeInterface::revokeLicense public function Reacts to the license being revoked. 2
LicenseTypeInterface::setConfigurationValuesOnLicense public function Copy configuration values to a license entity. 1
LicenseTypeSynchronizableInterface::buildLabel public function Builds a label for the given license. Overrides LicenseTypeInterface::buildLabel
LicenseTypeSynchronizableInterface::getLabel public function Gets the license type label. Overrides LicenseTypeInterface::getLabel
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2