You are here

function hook_tmgmt_file_format_plugin_info_alter in Translation Management Tool 7

Same name and namespace in other branches
  1. 8 translators/tmgmt_file/tmgmt_file.api.php \hook_tmgmt_file_format_plugin_info_alter()

Alter file format plugins provided by other modules.

See also

hook_tmgmt_file_format_plugin_info()

File

translators/file/tmgmt_file.api.php, line 55

Code

function hook_tmgmt_file_format_plugin_info_alter($file_formats) {

  // Switch the used HTML plugin controller class.
  $file_formats['html']['plugin controller class'] = 'MyModuleCustomizedHTML';
}