function ConfigTranslationEditForm::submitForm
Same name in other branches
- 9 core/modules/config_translation/src/Form/ConfigTranslationEditForm.php \Drupal\config_translation\Form\ConfigTranslationEditForm::submitForm()
- 8.9.x core/modules/config_translation/src/Form/ConfigTranslationEditForm.php \Drupal\config_translation\Form\ConfigTranslationEditForm::submitForm()
- 10 core/modules/config_translation/src/Form/ConfigTranslationEditForm.php \Drupal\config_translation\Form\ConfigTranslationEditForm::submitForm()
Overrides ConfigTranslationFormBase::submitForm
File
-
core/
modules/ config_translation/ src/ Form/ ConfigTranslationEditForm.php, line 37
Class
- ConfigTranslationEditForm
- Defines a form for editing configuration translations.
Namespace
Drupal\config_translation\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this->messenger()
->addStatus($this->t('Successfully updated @language translation.', [
'@language' => $this->language
->getName(),
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.