public function QuantityTypeInterface::getLabel in farmOS 2.x
Gets the quantity type label.
Return value
string The quantity type label.
1 method overrides QuantityTypeInterface::getLabel()
- QuantityTypeBase::getLabel in modules/
core/ entity/ src/ Plugin/ Quantity/ QuantityType/ QuantityTypeBase.php - Gets the quantity type label.
File
- modules/
core/ entity/ src/ Plugin/ Quantity/ QuantityType/ QuantityTypeInterface.php, line 18
Class
- QuantityTypeInterface
- Defines the interface for quantity types.
Namespace
Drupal\farm_entity\Plugin\Quantity\QuantityTypeCode
public function getLabel();