function menu_update_8002

Adds the footer menu to custom menus.

File

drupal/core/modules/menu/menu.install, line 52
Install, update and uninstall functions for the menu module.

Code

function menu_update_8002() {
  db_insert('menu_custom')
    ->fields(array(
    'menu_name' => 'footer',
    'title' => 'Footer menu',
    'description' => 'Use this for linking to site information.',
  ))
    ->execute();
}