public function TranslatorRejectDataInterface::rejectForm

Reject form.

This method gets call by tmgmt_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 TranslatorRejectDataInterface::rejectForm()
TestTranslator::rejectForm in tmgmt_test/src/Plugin/tmgmt/Translator/TestTranslator.php
Reject form.

File

src/TranslatorRejectDataInterface.php, line 54

Class

TranslatorRejectDataInterface
Handle reject on data item level.

Namespace

Drupal\tmgmt

Code

public function rejectForm(array $form, FormStateInterface $form_state);