diff options
Diffstat (limited to 'modules/menu/menu.api.php')
-rw-r--r-- | modules/menu/menu.api.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php index 99fcb8e20..d64f9b34c 100644 --- a/modules/menu/menu.api.php +++ b/modules/menu/menu.api.php @@ -40,6 +40,13 @@ * user_access() unless a value is inherited from a parent menu item. * - "access arguments": An array of arguments to pass to the access callback * function. Integer values pass the corresponding URL component. + * - "theme callback": Optional. A function returning the machine-readable + * name of the theme that will be used to render the page. If the function + * returns nothing, the main site theme will be used. If no function is + * provided, the main site theme will also be used, unless a value is + * inherited from a parent menu item. + * - "theme arguments": An array of arguments to pass to the theme callback + * function. Integer values pass the corresponding URL component. * - "file": A file that will be included before the callbacks are accessed; * this allows callback functions to be in separate files. The file should * be relative to the implementing module's directory unless otherwise |