public function PackageTypeInterface::getLabel in Commerce Shipping 8.2
Gets the translated label.
Return value
string The translated label.
1 method overrides PackageTypeInterface::getLabel()
- PackageType::getLabel in src/
Plugin/ Commerce/ PackageType/ PackageType.php - Gets the translated label.
File
- src/
Plugin/ Commerce/ PackageType/ PackageTypeInterface.php, line 33
Class
- PackageTypeInterface
- Defines the interface for package types.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\PackageTypeCode
public function getLabel();