You are here

public function Measurement::getUnit in Physical Fields 8

Gets the unit.

Return value

string The unit.

File

src/Measurement.php, line 67

Class

Measurement
Provides a base class for measurement value objects.

Namespace

Drupal\physical

Code

public function getUnit() {
  return $this->unit;
}