You are here

function tmgmt_file_format_plugin_info in Translation Management Tool 7

Returns information about file format plugins.

Parameters

$plugin: (Optional) Name of a plugin/extension.

Return value

array If a plugin name is provided, information about that plugin, an array of plugin information otherwise. The information of each plugin consists of the label and plugin controller class, keyed by the plugin name which is also the extension for that file format.

2 calls to tmgmt_file_format_plugin_info()
TMGMTFileTranslatorUIController::checkoutInfo in translators/file/tmgmt_file.ui.inc
Retrieves information about a translation job.
tmgmt_file_import_form_submit in translators/file/tmgmt_file.module
Import form submit callback.

File

translators/file/tmgmt_file.module, line 90
Module file of the translation management test module.

Code

function tmgmt_file_format_plugin_info($plugin = NULL) {
  return _tmgmt_plugin_info('file_format', $plugin);
}