function menu_convert_replacement_pattern

7.x menu.inc menu_convert_replacement_pattern($str)
6.x menu.inc menu_convert_replacement_pattern($str)
4.x menu.inc menu_convert_replacement_pattern($str)
5.x menu.inc menu_convert_replacement_pattern($str)

Look for modules implementing hook_menu_handle_replacement_pattern, and apply to str.

Parameters

unknown_type $str:

2 calls to menu_convert_replacement_pattern()
fp_display_page in includes/theme.inc
Output the contents of the $page variable to the screen. $page is an array containing details about the page, as well as its original menu item (router_item) definition.
l in includes/misc.inc
This works like Drupal's l() function for creating links. Ex: l("Click here for course search!", "tools/course-search", "abc=xyz&hello=goodbye", array("class" => "my-class")); Do not…

File

includes/menu.inc, line 15

Code

function menu_convert_replacement_pattern($str) {
  // Find modules which implement the hook_menu_handle_replacement_pattern function.
  $modules = modules_implement_hook("menu_handle_replacement_pattern");
  foreach ($modules as $module) {
    $str = call_user_func($module . '_menu_handle_replacement_pattern', $str);
  }

  return $str;
}