public function TMGMTTranslatorRejectDataItem::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.
1 method overrides TMGMTTranslatorRejectDataItem::rejectForm()
- TMGMTTestTranslatorPluginController::rejectForm in tests/
tmgmt_test.plugin.translator.inc - Reject form.
File
- plugin/
tmgmt.plugin.interface.reject.inc, line 55 - Contains the reject translator plugin interface.
Class
- TMGMTTranslatorRejectDataItem
- Handle reject on data item level.
Code
public function rejectForm($form, &$form_state);