1 config.admin.inc config_get_modified_times()

Utility function to get the current diffs between active and staging.

File

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

Code

function config_get_modified_times() {
  $staging_storage = config_get_config_storage('staging');
  $staging_files = $staging_storage->listAll();
  $modified_times = array();
  foreach ($staging_files as $file) {
    $modified_times[$file] = $staging_storage->getModifiedTime($file);
  }
  return $modified_times;
}