public function PackageTypeInterface::getDimensions in Commerce Shipping 8.2
Gets the package type dimensions.
Return value
array An array with the following keys: length, width, height, unit.
1 method overrides PackageTypeInterface::getDimensions()
- PackageType::getDimensions in src/
Entity/ PackageType.php - Gets the package type dimensions.
File
- src/
Entity/ PackageTypeInterface.php, line 18
Class
- PackageTypeInterface
- Defines the interface for package type configuration entities.
Namespace
Drupal\commerce_shipping\EntityCode
public function getDimensions();