function flag_hook_test_entity_delete in Flag 7.3
Implements hook_entity_delete().
File
- tests/
flag_hook_test/ flag_hook_test.module, line 96 - flag_hook_test.module Test module for the hooks that Flag invokes.
Code
function flag_hook_test_entity_delete($entity, $type) {
if ($type == 'flagging') {
_flag_hook_test_record_invocation('hook_entity_delete', func_get_args(), $entity);
}
}