public function LingotekJobClearMultipleEntitiesForm::submitForm in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 4.0.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.0.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.1.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.2.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.3.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.5.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.6.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.7.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
- 3.8.x src/Form/LingotekJobClearMultipleEntitiesForm.php \Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides LingotekJobAssignToMultipleEntitiesForm::submitForm
File
- src/
Form/ LingotekJobClearMultipleEntitiesForm.php, line 34
Class
- LingotekJobClearMultipleEntitiesForm
- Form for bulk clear of Job ID to content entities.
Namespace
Drupal\lingotek\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state
->setValue('job_id', '');
return parent::submitForm($form, $form_state);
}