protected property WorkflowTypeAttributeTrait::$workflow in Workflow 8
The attached Workflow.
It must explicitly be defined, and not be public, to avoid errors when exporting with json_encode().
Type: \Drupal\workflow\Entity\Workflow
File
- src/
WorkflowTypeAttributeTrait.php, line 32
Class
- WorkflowTypeAttributeTrait
- Wrapper methods for Workflow* objects.
Namespace
Drupal\workflowCode
protected $workflow = NULL;