public function ShipmentInterface::getState in Commerce Shipping 8.2
Gets the shipment state.
Return value
\Drupal\state_machine\Plugin\Field\FieldType\StateItemInterface The shipment state.
1 method overrides ShipmentInterface::getState()
- Shipment::getState in src/
Entity/ Shipment.php - Gets the shipment state.
File
- src/
Entity/ ShipmentInterface.php, line 333
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getState();