Tuesday 4 September 2012

How to menu execute active handler in drupal

menu_execute_active_handler
5 menu.inc     menu_execute_active_handler()
6 menu.inc     menu_execute_active_handler($path = NULL)
7 menu.inc     menu_execute_active_handler($path = NULL, $deliver = TRUE)

Execute the page callback associated with the current path.
Parameters

$path: The drupal path whose handler is to be be executed. If set to NULL, then the current path is used.

$deliver: (optional) A boolean to indicate whether the content should be sent to the browser using the appropriate delivery callback (TRUE) or whether to return the result to the caller (FALSE).
Related topics

Menu system
    Define the navigation menus, and route page requests to code based on URLs.

3 calls to menu_execute_active_handler()

No comments:

Post a Comment