You are here

service plugin.manager.commerce_package_type in Commerce Shipping 8.2

Class

Drupal\commerce_shipping\PackageTypeManager
4 string references to plugin.manager.commerce_package_type
Shipment::getPackageType in src/Entity/Shipment.php
Gets the package type.
ShipmentForm::create in src/Form/ShipmentForm.php
Instantiates a new instance of this class.
ShipmentTest::testShipment in tests/src/Kernel/Entity/ShipmentTest.php
@covers ::getOrder @covers ::getOrderId @covers ::getPackageType @covers ::setPackageType @covers ::getShippingMethod @covers ::getShippingMethodId @covers ::setShippingMethod @covers ::getShippingService @covers ::setShippingService @covers…
ShippingMethodBase::create in src/Plugin/Commerce/ShippingMethod/ShippingMethodBase.php
Creates an instance of the plugin.

File

./commerce_shipping.services.yml
commerce_shipping.services.yml

View source
  1. class: Drupal\commerce_shipping\PackageTypeManager
  2. arguments:
  3. - '@module_handler'
  4. - '@cache.discovery'