public function ShippingMethodInterface::getWeight in Commerce Shipping 8.2
Gets the shipping method weight.
Return value
string The shipping method weight.
1 method overrides ShippingMethodInterface::getWeight()
- ShippingMethod::getWeight in src/
Entity/ ShippingMethod.php - Gets the shipping method weight.
File
- src/
Entity/ ShippingMethodInterface.php, line 85
Class
- ShippingMethodInterface
- Defines the interface for shipping methods.
Namespace
Drupal\commerce_shipping\EntityCode
public function getWeight();