You are here

function tmgmt_ui_source_overview_form_submit in Translation Management Tool 7

Submit callback for the source overview form.

File

ui/tmgmt_ui.module, line 281
Common Translation managment UI.

Code

function tmgmt_ui_source_overview_form_submit($form, &$form_state) {
  list($plugin, $item_type) = $form_state['build_info']['args'];

  // Execute the submit method on the source plugin controller.
  $controller = tmgmt_source_ui_controller($plugin);
  $controller
    ->overviewFormSubmit($form, $form_state, $item_type);
}