interface QuantityTypeInterface in farmOS 2.x
Same name in this branch
- 2.x modules/core/quantity/src/Entity/QuantityTypeInterface.php \Drupal\quantity\Entity\QuantityTypeInterface
- 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\QuantityTypeView source
interface QuantityTypeInterface extends BundlePluginInterface {
/**
* Gets the quantity type label.
*
* @return string
* The quantity type label.
*/
public function getLabel();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QuantityTypeInterface:: |
public | function | Gets the quantity type label. | 1 |