public function DimensionsItem::getHeight in Physical Fields 8
Gets the height as a value object.
Return value
\Drupal\physical\Length The height.
File
- src/
Plugin/ Field/ FieldType/ DimensionsItem.php, line 152
Class
- DimensionsItem
- Plugin implementation of the 'physical_dimensions' field type.
Namespace
Drupal\physical\Plugin\Field\FieldTypeCode
public function getHeight() {
return new Length($this->height, $this->unit);
}