You are here

public function Order::getStatusId in Ubercart 8.4

Returns the order status ID.

Return value

string The order status ID.

Overrides OrderInterface::getStatusId

1 call to Order::getStatusId()
Order::postSave in uc_order/src/Entity/Order.php
Acts on a saved entity before the insert or update hook is invoked.

File

uc_order/src/Entity/Order.php, line 332

Class

Order
Defines the order entity class.

Namespace

Drupal\uc_order\Entity

Code

public function getStatusId() {
  return $this
    ->get('order_status')->target_id;
}