You are here

public function TMGMTTestTranslatorPluginController::rejectForm in Translation Management Tool 7

Reject form.

This method gets call by tmgmt_ui_translation_review_form_reject_confirm and allows the translator to add aditional form elements in order to collect data needed for the reject prozess.

Parameters

$form: The form array containing a confirm form. $form['item'] holds the job item to which the to be rejected data item belongs to. $form['item'] holds key of the to be rejected data item as an array of keys of a nested array hierarchy.

$form_state: The form state.

Return value

The resulting form array.

Overrides TMGMTTranslatorRejectDataItem::rejectForm

File

tests/tmgmt_test.plugin.translator.inc, line 105
Cotains the test translator plugin.

Class

TMGMTTestTranslatorPluginController
@file Cotains the test translator plugin.

Code

public function rejectForm($form, &$form_state) {
  return $form;
}