menu_load

Versions
6 – 7
menu_load($menu_name)

Load the data for a single custom menu.

Parameters

$menu_name The unique name of a custom menu to load.

Code

modules/menu/menu.module, line 218

<?php
function menu_load($menu_name) {
  return db_query("SELECT * FROM {menu_custom} WHERE menu_name = :menu", array(':menu' => $menu_name))->fetchAssoc();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.