public static function LengthUnit::getBaseUnit in Physical Fields 8
Gets the base unit.
Return value
string The base unit.
Overrides UnitInterface::getBaseUnit
1 call to LengthUnit::getBaseUnit()
- Dimensions::processElement in src/
Element/ Dimensions.php - Builds the physical_dimensions form element.
File
- src/
LengthUnit.php, line 36
Class
- LengthUnit
- Provides length units.
Namespace
Drupal\physicalCode
public static function getBaseUnit() {
return self::METER;
}