You are here

function drush_language_translations_groups_info in Drush Language Commands 7

Returns a list with enabled locale groups.

1 string reference to 'drush_language_translations_groups_info'
language_translations_drush_command in ./language_translations.drush.inc
Implements of hook_drush_command().

File

./language_translations.drush.inc, line 182
Drush language commands related to translations.

Code

function drush_language_translations_groups_info() {

  // Print header.
  $locale_groups = array(
    '**Group**' => '**Label**',
  );

  // Get enabled system text groups.
  $locale_groups += module_invoke_all('locale', 'groups');

  // Output.
  drush_print_table(drush_key_value_to_array_table($locale_groups));
}