You are here

public function PackageTypeManagerInterface::getDefinitionsByShippingMethod in Commerce Shipping 8.2

Gets the definitions for the given shipping method plugin ID.

Parameters

string $shipping_method: The shipping method plugin ID.

Return value

array The definitions.

1 method overrides PackageTypeManagerInterface::getDefinitionsByShippingMethod()
PackageTypeManager::getDefinitionsByShippingMethod in src/PackageTypeManager.php
Gets the definitions for the given shipping method plugin ID.

File

src/PackageTypeManagerInterface.php, line 21

Class

PackageTypeManagerInterface
Defines the interface for commerce_package_type plugin managers.

Namespace

Drupal\commerce_shipping

Code

public function getDefinitionsByShippingMethod($shipping_method);