public function PackageType::getDimensions in Commerce Shipping 8.2
Gets the package type dimensions.
Return value
array An array with the following keys: length, width, height, unit.
Overrides PackageTypeInterface::getDimensions
File
- src/
Entity/ PackageType.php, line 89
Class
- PackageType
- Defines the package type entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function getDimensions() {
return $this->dimensions;
}