Commit 915fda9b authored by git's avatar git Committed by moshe weitzman

Issue #2877614 by ckaotik: Config editor must display original config, without overrides

parent dd5ab8ea
...@@ -32,7 +32,7 @@ class ConfigEditor extends FormBase { ...@@ -32,7 +32,7 @@ class ConfigEditor extends FormBase {
return; return;
} }
$data = $config->get(); $data = $config->getOriginal();
if (empty($data)) { if (empty($data)) {
drupal_set_message(t('Config @name exists but has no data.', array('@name' => $config_name)), 'warning'); drupal_set_message(t('Config @name exists but has no data.', array('@name' => $config_name)), 'warning');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment