You are here

public static function TemperatureUnit::getBaseUnit in Physical Fields 8

Gets the base unit.

Return value

string The base unit.

Overrides UnitInterface::getBaseUnit

File

src/TemperatureUnit.php, line 28

Class

TemperatureUnit
Provides common temperature units.

Namespace

Drupal\physical

Code

public static function getBaseUnit() {
  return self::CELSIUS;
}