QuantityTypeInterface.php in farmOS 2.x
File
modules/core/entity/src/Plugin/Quantity/QuantityType/QuantityTypeInterface.phpView 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
Name![]() |
Description |
---|---|
QuantityTypeInterface | Defines the interface for quantity types. |