function locale_update_8008

Update locale variables to config or state systems as appropriate.

Related topics

File

drupal/core/modules/locale/locale.install, line 734
Install, update, and uninstall functions for the Locale module.

Code

function locale_update_8008() {
  update_variables_to_config('locale.settings', array(
    'locale_cache_strings' => 'cache_strings',
    'locale_js_directory' => 'javascript.directory',
  ));
  update_variables_to_config('language.negotiation', array(
    'locale_language_negotiation_session_param' => 'session.parameter',
    'locale_language_negotiation_url_part' => 'url.source',
  ));
}