You are here

QuantityTypeInterface.php in farmOS 2.x

File

modules/core/entity/src/Plugin/Quantity/QuantityType/QuantityTypeInterface.php
View source
<?php

namespace Drupal\farm_entity\Plugin\Quantity\QuantityType;

use Drupal\entity\BundlePlugin\BundlePluginInterface;

/**
 * Defines the interface for quantity types.
 */
interface QuantityTypeInterface extends BundlePluginInterface {

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

}

Interfaces

Namesort descending Description
QuantityTypeInterface Defines the interface for quantity types.