You are here

public static function WeightUnit::getBaseUnit in Physical Fields 8

Gets the base unit.

Return value

string The base unit.

Overrides UnitInterface::getBaseUnit

File

src/WeightUnit.php, line 32

Class

WeightUnit
Provides weight units.

Namespace

Drupal\physical

Code

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