public function OrderType::setWorkflowId in Commerce Core 8.2
Sets the workflow ID of the order type.
Parameters
string $workflow_id: The workflow ID.
Return value
$this
Overrides OrderTypeInterface::setWorkflowId
File
- modules/
order/ src/ Entity/ OrderType.php, line 121
Class
- OrderType
- Defines the order type entity class.
Namespace
Drupal\commerce_order\EntityCode
public function setWorkflowId($workflow_id) {
$this->workflow = $workflow_id;
return $this;
}