? flag-alter.patch Index: flag.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/flag/Attic/flag.module,v retrieving revision 1.11.2.70 diff -u -p -r1.11.2.70 flag.module --- flag.module 17 Mar 2009 02:07:34 -0000 1.11.2.70 +++ flag.module 16 Apr 2009 19:49:36 -0000 @@ -874,6 +874,11 @@ function flag_get_flags($content_type = } } } + + // Allow modules implementing hook_flag_alter(&$flag) to modify each flag. + foreach ($flags as $flag) { + drupal_alter('flag', $flag); + } } // Make a variable copy to filter types and account.