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