public function Order::unlock in Commerce Core 8.2
Unlocks the order.
Return value
$this
Overrides OrderInterface::unlock
File
- modules/
order/ src/ Entity/ Order.php, line 592
Class
- Order
- Defines the order entity class.
Namespace
Drupal\commerce_order\EntityCode
public function unlock() {
$this
->set('locked', FALSE);
return $this;
}