public function ShippingMethodInterface::getDefaultPackageType in Commerce Shipping 8.2
Gets the default package type.
Return value
\Drupal\commerce_shipping\Plugin\Commerce\PackageType\PackageTypeInterface The default package type.
1 method overrides ShippingMethodInterface::getDefaultPackageType()
- ShippingMethodBase::getDefaultPackageType in src/
Plugin/ Commerce/ ShippingMethod/ ShippingMethodBase.php - Gets the default package type.
File
- src/
Plugin/ Commerce/ ShippingMethod/ ShippingMethodInterface.php, line 31
Class
- ShippingMethodInterface
- Defines the base interface for shipping methods.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\ShippingMethodCode
public function getDefaultPackageType();