You are here

function flag_hook_info in Flag 8.4

Same name and namespace in other branches
  1. 5 includes/flag.actions.inc \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()

Implements hook_hook_info().

Flag alter hooks should be defined in a MODULE.flag.inc file.

File

./flag.module, line 581
The Flag module.

Code

function flag_hook_info() {
  $hooks = [];
  $hooks['flag_type_info_alter'] = [
    'group' => 'flag',
  ];
  $hooks['flag_link_type_info_alter'] = [
    'group' => 'flag',
  ];
  return $hooks;
}