private function printModuleSummary($options, $heading = '') {
    // Print module info.
    if (!empty($options)) {
      drush_print("{$heading}");

      $values = [];
      foreach ($options as $status => $modules) {
        $key = dt("!action", ['!action' => ucwords($status)]);
        $value = implode(', ', $modules);
        $values[$key] = $value;
      }

      drush_print_format([$values], 'key-value-list');
    }
  }
private function printModuleSummary($options, $heading = '') {
    // Print module info.
    if (!empty($options)) {
      drush_print("{$heading}");

      $values = [];
      foreach ($options as $status => $modules) {
        $key = dt("!action", ['!action' => ucwords($status)]);
        $value = implode(', ', $modules);
        $values[$key] = $value;
      }

      drush_print_format([$values], 'key-value-list');
    }
  }
private function printModuleSummary ( $ options , $ heading = '' ) { // Print module info. if ( ! empty ( $ options ) ) { drush_print ( "{$heading}" ) ; $ values = [ ] ; foreach ( $ options as $ status => $ modules ) { $ key = dt ( "!action" , [ '!action' => ucwords ( $ status ) ] ) ; $ value = implode ( ', ' , $ modules ) ; $ values [ $ key ] = $ value ; } drush_print_format ( [ $ values ] , 'key-value-list' ) ; } }
Print a summary of the module section.

@param array $options
The array of module information from the yaml file.
Print a summary of the module section .