public function InvoiceType::setWorkflowId in Commerce Invoice 8.2
Sets the workflow ID of the invoice type.
Parameters
string $workflow_id: The workflow ID.
Return value
$this
Overrides InvoiceTypeInterface::setWorkflowId
File
- src/
Entity/ InvoiceType.php, line 236
Class
- InvoiceType
- Defines the invoice type entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function setWorkflowId($workflow_id) {
$this->workflow = $workflow_id;
return $this;
}