function field_update_8004

Moves field_storage_default and field_language_fallback to config.

Related topics

File

drupal/core/modules/field/field.install, line 373
Install, update, and uninstall functions for the Field module.

Code

function field_update_8004() {
  update_variable_set('field_language_fallback', TRUE);
  update_variables_to_config('field.settings', array(
    'field_storage_default' => 'default_storage',
    'field_language_fallback' => 'language_fallback',
  ));
}