You are here

public function QuantityType::getDefaultMeasure in farmOS 2.x

Get the quantity type's default measure.

Return value

string The default measure, or null if none is specified.

Overrides QuantityTypeInterface::getDefaultMeasure

File

modules/core/quantity/src/Entity/QuantityType.php, line 93

Class

QuantityType
Defines the quantity type entity.

Namespace

Drupal\quantity\Entity

Code

public function getDefaultMeasure() {
  return $this->default_measure;
}