public function OrderInterface::getState in Commerce Core 8.2
Gets the order state.
Return value
\Drupal\state_machine\Plugin\Field\FieldType\StateItemInterface The order state.
1 method overrides OrderInterface::getState()
- Order::getState in modules/
order/ src/ Entity/ Order.php - Gets the order state.
File
- modules/
order/ src/ Entity/ OrderInterface.php, line 323
Class
- OrderInterface
- Defines the interface for orders.
Namespace
Drupal\commerce_order\EntityCode
public function getState();