You are here

function audit_log_entity_delete in Audit Log 7

Same name and namespace in other branches
  1. 8.2 audit_log.module \audit_log_entity_delete()
  2. 8 audit_log.module \audit_log_entity_delete()

Implements hook_entity_delete().

File

./audit_log.module, line 111
Hook implemenations for the Audit log module.

Code

function audit_log_entity_delete($entity, $entity_type) {
  audit_log($entity, $entity_type, 'delete');
}