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