diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 14:44:03 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 14:44:03 +0000 |
commit | 50955e3801b6c28a4f2878820925e429dec4b4a7 (patch) | |
tree | 62fefd2911c5b220165b9f1ab34d7f19b2d47df5 /includes | |
parent | c7c88bbf3f8b019459a7f88f08ea66412566180e (diff) | |
download | brdo-50955e3801b6c28a4f2878820925e429dec4b4a7.tar.gz brdo-50955e3801b6c28a4f2878820925e429dec4b4a7.tar.bz2 |
#156626 by pwolanin: allow deletion of custom menus
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 89a613e56..2dcc66cf7 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -982,6 +982,13 @@ function menu_get_names($reset = FALSE) { } /** + * Return an array containing the names of system-defined (default) menus. + */ +function menu_list_system_menus() { + return array('navigation', 'primary-links', 'secondary-links'); +} + +/** * Return an array of links to be rendered as the Primary links. */ function menu_primary_links() { |