You are here

function coder_print_drush_messages in Coder 5.2

Same name and namespace in other branches
  1. 6.2 coder.drush.inc \coder_print_drush_messages()
  2. 6 coder.drush.inc \coder_print_drush_messages()
1 call to coder_print_drush_messages()
coder_page_form in ./coder.module
Implementation of hook_form().

File

./coder.drush.inc, line 104

Code

function coder_print_drush_messages() {
  foreach (drupal_get_messages() as $type => $messages) {
    drush_print(dt(ucfirst($type) . ' Messages') . ":\n " . _coder_drush_output(implode("\n ", $messages)) . "\n");
  }
}