You are here

function tmgmt_translator_load_multiple in Translation Management Tool 7

Loads multiple translators based on their name.

Parameters

$names: (Optional) An array of machine-readable names of the translator entities to load or FALSE to load all available translator entities.

Return value

array An array of translators with the machine-readable name of the translators as array keys.

Related topics

6 calls to tmgmt_translator_load_multiple()
TMGMTTranslatorUIController::overviewForm in ui/includes/tmgmt_ui.controller.translator.inc
Builds the entity overview form.
TMGMTTranslatorUIController::overviewFormSubmit in ui/includes/tmgmt_ui.controller.translator.inc
Overview form submit callback.
tmgmt_local_clear_languages_cache in translators/tmgmt_local/tmgmt_local.module
Helper function for clearing the languages cache of all local translators.
tmgmt_translator_labels in ./tmgmt.module
Returns a list of all available translator labels.
tmgmt_translator_labels_flagged in ./tmgmt.module
Returns a list of flagged translator labels. If a translator is not available it will be suffixed with a short text explaining why it is not available. This can either be because the configuration of the passed job is not supported or because the…

... See full list

File

./tmgmt.module, line 890
Main module file for the Translation Management module.

Code

function tmgmt_translator_load_multiple($names = array()) {
  return entity_load_multiple_by_name('tmgmt_translator', $names);
}