public static function UnitInterface::getBaseUnit in Physical Fields 8
Gets the base unit.
Return value
string The base unit.
5 methods override UnitInterface::getBaseUnit()
- AreaUnit::getBaseUnit in src/
AreaUnit.php - Gets the base unit.
- LengthUnit::getBaseUnit in src/
LengthUnit.php - Gets the base unit.
- TemperatureUnit::getBaseUnit in src/
TemperatureUnit.php - Gets the base unit.
- VolumeUnit::getBaseUnit in src/
VolumeUnit.php - Gets the base unit.
- WeightUnit::getBaseUnit in src/
WeightUnit.php - Gets the base unit.
File
- src/
UnitInterface.php, line 26
Class
- UnitInterface
- Provides the interface for unit classes.
Namespace
Drupal\physicalCode
public static function getBaseUnit();