1 menu.install menu_update_1004()

Add new default config values.

Related topics

File

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

Code

function menu_update_1004() {
  $config = config('menu.settings');
  if ($config->get('menu_breakpoint') == NULL) {
    $config->set('menu_breakpoint', 'default');
    $config->set('menu_breakpoint_custom', '');
    $config->save();
  }
}