1 entityreference.install entityreference_update_1000()

Move entityreference settings from config to state.

File

core/modules/entityreference/entityreference.install, line 49

Code

function entityreference_update_1000() {
  $config = config('entityreference.settings');
  $base_tables = $config->get('base-tables');
  state_set('entityreference_base_tables', $base_tables);
  $config->delete();

}