function menu_get_module_path
Search API
| 7.x menu.inc | menu_get_module_path($module, $bool_include_file_system_path = FALSE) |
| 6.x menu.inc | menu_get_module_path($module, $bool_include_file_system_path = FALSE) |
| 5.x menu.inc | menu_get_module_path($module, $bool_include_file_system_path = FALSE) |
22 calls to menu_get_module_path()
- admin.groups.inc in modules/
admin/ admin.groups.inc - admin.module in modules/
admin/ admin.module - The administrative configurations for FlightPath.
- admin_menu in modules/
admin/ admin.module - Implementation of hook_menu
- admin_process_all_definitions_form_submit in modules/
admin/ admin.groups.inc - Actually perform the refreshing of definitions.
- advise.module in modules/
advise/ advise.module
File
- includes/
menu.inc, line 70
Code
function menu_get_module_path($module, $bool_include_file_system_path = FALSE) {
$system_path = "";
if ($bool_include_file_system_path) {
$system_path = $GLOBALS ["fp_system_settings"]["file_system_path"] . "/";
}
if (isset($GLOBALS ["fp_system_settings"]["modules"][$module]["path"])) {
return $system_path . $GLOBALS ["fp_system_settings"]["modules"][$module]["path"];
}
else {
return FALSE;
}
}
