1 config.admin.inc config_import_single_form_submit(array &$form, array &$form_state)

Submit handler for config_import_single_form().

File

core/modules/config/config.admin.inc, line 472
Admin page callbacks for the Configuration Management module.

Code

function config_import_single_form_submit(array &$form, array &$form_state) {
  $data = $form_state['config_data'];
  config_sync_file($data['_config_name'], $form_state['config_change_type'], $data);
  backdrop_flush_all_caches();
  backdrop_set_message(t('The %name configuration was imported successfully.', array('%name' => $data['_config_name'])));
}