5 * Contains \Drupal\Console\Command\Config\PrintConfigValidationTrait.
8 namespace Drupal\Console\Command\Config;
10 use Drupal\Console\Core\Style\DrupalStyle;
12 trait PrintConfigValidationTrait
14 protected function printResults($valid, DrupalStyle $io)
16 if ($valid === true) {
17 $io->info($this->trans('commands.config.validate.messages.success'));
21 foreach ($valid as $key => $error) {
22 $io->warning($key . ': ' . $error);