diff options
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 7cb17459a..e8276b38a 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -110,6 +110,14 @@ function menu_execute_active_handler() { } } +function menu_active_handler_exists() { + global $_list; + + $path = menu_get_active_item(); + + return function_exists($_list[$path]["callback"]); +} + /** * Returns true when the path is in the active trail. */ |