public function TranslatorListBuilder::submitForm in Translation Management Tool 8
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 DraggableListBuilder::submitForm
File
- src/
Entity/ ListBuilder/ TranslatorListBuilder.php, line 136
Class
- TranslatorListBuilder
- Provides a listing of translators.
Namespace
Drupal\tmgmt\Entity\ListBuilderCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this
->messenger()
->addStatus(t('The order of the translators has been saved.'));
}