X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FConfig%2FSettingsDebugCommand.php;h=57367e80ba2a4e1a0dc16b9a5d006acda3665744;hp=15c7b5e8a3096cc47b06f19a4f929d64e1201ebb;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;ds=sidebyside diff --git a/vendor/drupal/console/src/Command/Config/SettingsDebugCommand.php b/vendor/drupal/console/src/Command/Config/SettingsDebugCommand.php index 15c7b5e8a..57367e80b 100644 --- a/vendor/drupal/console/src/Command/Config/SettingsDebugCommand.php +++ b/vendor/drupal/console/src/Command/Config/SettingsDebugCommand.php @@ -65,8 +65,9 @@ class SettingsDebugCommand extends Command $io->newLine(); foreach ($settingKeys as $settingKey) { - $io->comment($settingKey, false); - $io->simple(Yaml::encode($this->settings->get($settingKey))); + $settingValue = $this->settings->get($settingKey); + $io->comment($settingKey . ': ', is_array($settingValue)); + $io->write(Yaml::encode($settingValue)); } $io->newLine(); }