You are here

function hook_entity_delete in Workflow 8

1 call to hook_entity_delete()
workflow_devel_entity_delete in modules/workflow_devel/workflow_devel.module
@inheritdoc
2 functions implement hook_entity_delete()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

workflow_devel_entity_delete in modules/workflow_devel/workflow_devel.module
@inheritdoc
workflow_entity_delete in ./workflow.module
Implements hook_entity_delete().

File

./workflow.api.php, line 447
Hooks provided by the workflow module.

Code

function hook_entity_delete(EntityInterface $entity) {
  if (substr($entity
    ->getEntityTypeId(), 0, 8) == 'workflow') {

    // workflow_debug(__FILE__, __FUNCTION__, __LINE__, 'delete', $entity->getEntityTypeId());
  }
}