public function WorkflowConfigTransition::delete in Workflow 7.2
Permanently deletes the entity.
Overrides Entity::delete
File
- includes/
Entity/ WorkflowConfigTransition.php, line 45 - Contains workflow\includes\Entity\WorkflowConfigTransition. Contains workflow\includes\Entity\WorkflowConfigTransitionController.
Class
- WorkflowConfigTransition
- Implements a configurated Transition.
Code
public function delete() {
// Notify any interested modules before we delete, in case there's data needed.
// @todo D8: this can be replaced by a hook_entity_delete(?)
module_invoke_all('workflow', 'transition delete', $this->tid, NULL, NULL, FALSE);
return parent::delete();
}