You are here

public function QuantityTypeBase::getLabel in farmOS 2.x

Gets the quantity type label.

Return value

string The quantity type label.

Overrides QuantityTypeInterface::getLabel

File

modules/core/entity/src/Plugin/Quantity/QuantityType/QuantityTypeBase.php, line 15

Class

QuantityTypeBase
Provides the base quantity type class.

Namespace

Drupal\farm_entity\Plugin\Quantity\QuantityType

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}