You are here

public function PackageType::getLabel in Commerce Shipping 8.2

Gets the translated label.

Return value

string The translated label.

Overrides PackageTypeInterface::getLabel

File

src/Plugin/Commerce/PackageType/PackageType.php, line 80

Class

PackageType
Defines the class for package types.

Namespace

Drupal\commerce_shipping\Plugin\Commerce\PackageType

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}