public function Order::setStatusId in Ubercart 8.4
Sets the order status ID.
Parameters
string $status: The order status ID.
Return value
$this
Overrides OrderInterface::setStatusId
File
- uc_order/
src/ Entity/ Order.php, line 339
Class
- Order
- Defines the order entity class.
Namespace
Drupal\uc_order\EntityCode
public function setStatusId($status) {
$this
->set('order_status', $status);
return $this;
}