1.20.x menu.inc | menu_default_route_handler($router_item) |
Executes the current router item's page callback.
This function is only called if no other menu_router_handler has been specified by a module to handle the execution of page routes. In Backdrop core, Layout module usually will take precedence over this callback with its function layout_router_handler().
See also
layout_router_handler()
Related topics
File
- includes/
menu.inc, line 580 - API for the Backdrop menu system.
Code
function menu_default_route_handler($router_item) {
if ($router_item['include_file']) {
require_once BACKDROP_ROOT . '/' . $router_item['include_file'];
}
return call_user_func_array($router_item['page_callback'], $router_item['page_arguments']);
}