public function FilterShippingMethodsEvent::getShipment in Commerce Shipping 8.2
Gets the shipment.
Return value
\Drupal\commerce_shipping\Entity\ShipmentInterface The shipment.
File
- src/
Event/ FilterShippingMethodsEvent.php, line 71
Class
- FilterShippingMethodsEvent
- Defines the event for filtering the available shipping methods.
Namespace
Drupal\commerce_shipping\EventCode
public function getShipment() {
return $this->shipment;
}