function flag_hook_info in Flag 6
Same name and namespace in other branches
- 8.4 flag.module \flag_hook_info()
- 5 includes/flag.actions.inc \flag_hook_info()
- 6.2 includes/flag.actions.inc \flag_hook_info()
- 7.3 flag.module \flag_hook_info()
Implementation of hook_hook_info().
File
- includes/
flag.actions.inc, line 11 - Hooks for flag actions.
Code
function flag_hook_info() {
return array(
'flag' => array(
'flag' => array(
'flag' => array(
'runs when' => t('Content has been flagged'),
),
'unflag' => array(
'runs when' => t('Content has been unflagged'),
),
),
),
);
}