You are here

interface QuantityTypeInterface in farmOS 2.x

Same name in this branch
  1. 2.x modules/core/quantity/src/Entity/QuantityTypeInterface.php \Drupal\quantity\Entity\QuantityTypeInterface
  2. 2.x modules/core/entity/src/Plugin/Quantity/QuantityType/QuantityTypeInterface.php \Drupal\farm_entity\Plugin\Quantity\QuantityType\QuantityTypeInterface

Defines the interface for quantity types.

Hierarchy

  • interface \Drupal\farm_entity\Plugin\Quantity\QuantityType\QuantityTypeInterface extends \Drupal\entity\BundlePlugin\BundlePluginInterface

Expanded class hierarchy of QuantityTypeInterface

All classes that implement QuantityTypeInterface

File

modules/core/entity/src/Plugin/Quantity/QuantityType/QuantityTypeInterface.php, line 10

Namespace

Drupal\farm_entity\Plugin\Quantity\QuantityType
View source
interface QuantityTypeInterface extends BundlePluginInterface {

  /**
   * Gets the quantity type label.
   *
   * @return string
   *   The quantity type label.
   */
  public function getLabel();

}

Members

Namesort descending Modifiers Type Description Overrides
QuantityTypeInterface::getLabel public function Gets the quantity type label. 1