public function OrderType::getWorkflowId in Commerce Core 8.2
Gets the order type's workflow ID.
Used by the $order->state field.
Return value
string The order type workflow ID.
Overrides OrderTypeInterface::getWorkflowId
1 call to OrderType::getWorkflowId()
- OrderType::calculateDependencies in modules/
order/ src/ Entity/ OrderType.php - Calculates dependencies and stores them in the dependency property.
File
- modules/
order/ src/ Entity/ OrderType.php, line 114
Class
- OrderType
- Defines the order type entity class.
Namespace
Drupal\commerce_order\EntityCode
public function getWorkflowId() {
return $this->workflow;
}