You are here

function tmgmt_ui_plugin_settings_form in Translation Management Tool 7

Helper function for retrieving the translator settings form.

1 call to tmgmt_ui_plugin_settings_form()
tmgmt_translator_form in ui/includes/tmgmt_ui.pages.inc
Entity API form for the translator entity.

File

ui/includes/tmgmt_ui.pages.inc, line 796
Provides page callbacks and form functions for the Translation Management Tool User Interface module.

Code

function tmgmt_ui_plugin_settings_form(&$form_state, TMGMTTranslator $translator, $busy = FALSE) {
  $form = array();
  $controller = tmgmt_translator_ui_controller($translator->plugin);
  return $controller
    ->pluginSettingsForm($form, $form_state, $translator, $busy);
}