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