function menu_convert_replacement_pattern
Search API
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:
4 calls to menu_convert_replacement_pattern()
- AdvisingScreen::output_to_browser in classes/
AdvisingScreen.php - This method outputs the screen to the browser by performing an include(path-to-theme-file.php). All necessary information must be placed into certain variables before the include happens.
- 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.
- fp_render_tab_array in includes/
theme.inc - Given a propperly formatted tab_array, this will return the HTML to draw it on a page.
- 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;
}