commerce_license-8.x-2.x-dev/src/Plugin/Commerce/LicenseType/LicenseTypeSynchronizableInterface.php
src/Plugin/Commerce/LicenseType/LicenseTypeSynchronizableInterface.php
<?php namespace Drupal\commerce_license\Plugin\Commerce\LicenseType; use Drupal\commerce_license\Entity\LicenseInterface; /** * Defines the interface for license types. */ 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); }