function i18n_string_group_string_list in Internationalization 7
Get all strings for a text group
3 calls to i18n_string_group_string_list()
- i18n_string_module_string_list in i18n_string/
i18n_string.admin.inc - Get all strings from a module.
- i18n_string_refresh_group in i18n_string/
i18n_string.admin.inc - Refresh all user defined strings for a given text group.
- _i18n_string_batch_refresh_list in i18n_string/
i18n_string.admin.inc - Batch operation: Refresh string list for group
File
- i18n_string/
i18n_string.admin.inc, line 268 - Helper functions for string administration.
Code
function i18n_string_group_string_list($group) {
// Add strings provided by all modules on hook_string_list().
// Note that i18n_string module itself will also collect all strings for this group's objects
$strings = module_invoke_all('i18n_string_list', $group);
// Invoke hook_i18n_string_list_TEXTGROUP_alter()
drupal_alter('i18n_string_list_' . $group, $strings);
return $strings;
}