You are here

function flag_hook_info in Flag 5

Same name and namespace in other branches
  1. 8.4 flag.module \flag_hook_info()
  2. 6.2 includes/flag.actions.inc \flag_hook_info()
  3. 6 includes/flag.actions.inc \flag_hook_info()
  4. 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'),
        ),
      ),
    ),
  );
}