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