You are here

function hook_flag_alter in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.api.php \hook_flag_alter()
  2. 7.2 flag.api.php \hook_flag_alter()

Allow modules to alter a flag when it is initially loaded.

See also

flag_get_flags()

1 invocation of hook_flag_alter()
flag_get_flags in ./flag.module
List all flags available.

File

./flag.api.php, line 110
Hooks provided by the Flag module.

Code

function hook_flag_alter(&$flag) {
}