You are here

function _flag_menu_title in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.module \_flag_menu_title()
  2. 7.2 flag.module \_flag_menu_title()

Menu title callback.

1 string reference to '_flag_menu_title'
flag_menu in ./flag.module
Implements hook_menu().

File

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

Code

function _flag_menu_title($flag) {

  // The following conditional it to handle a D7 bug (@todo: link).
  return $flag ? $flag
    ->get_title() : '';
}