function menu_update_8000

Moves menu settings from variables to config.

Related topics

File

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

Code

function menu_update_8000() {
  update_variables_to_config('menu.settings', array(
    'menu_main_links_source' => 'main_links',
    'menu_secondary_links_source' => 'secondary_links',
  ));
}