You are here

function flag_lists_fix_link in Flag Lists 7.3

Same name and namespace in other branches
  1. 6 flag_lists.module \flag_lists_fix_link()
  2. 7 flag_lists.module \flag_lists_fix_link()
2 calls to flag_lists_fix_link()
flag_lists_page in ./flag_lists.module
Menu callback for (un)flagging a node.
theme_flag_lists_list in ./flag_lists.module

File

./flag_lists.module, line 1479
The Flag Lists module.

Code

function flag_lists_fix_link(&$link, $action) {

  // This is a hack to let us use our own flag/unflag callbacks without having
  // to override $flag->theme and creating our own flag_link type.
  $link = str_replace('/flag/' . $action . '/', '/flag-lists/' . $action . '/', $link);
}