You are here

function hook_flag_alter in Flag 6.2

Same name and namespace in other branches
  1. 7.3 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 61
Hooks provided by the Flag module.

Code

function hook_flag_alter(&$flag) {
}