service plugin.manager.commerce_package_type in Commerce Shipping 8.2
Class
Drupal\commerce_shipping\PackageTypeManager4 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
View source
- class: Drupal\commerce_shipping\PackageTypeManager
- arguments:
- - '@module_handler'
- - '@cache.discovery'