Symbiote\AdvancedWorkflow\DataObjects\WorkflowDefinition::onBeforeDelete
Ensure all WorkflowDefinition relations are removed on delete. If we don't do this, we see issues with targets previously under the control of a now-deleted workflow, becoming stuck, even if a new workflow is subsequently assigned to it.
Signature
public function onBeforeDelete()
Returns
- null