ConfigTranslationEditForm::submitForm

public ConfigTranslationEditForm::submitForm(array &$form, FormStateInterface $form_state)

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 ConfigTranslationFormBase::submitForm

File

core/modules/config_translation/src/Form/ConfigTranslationEditForm.php, line 35

Class

ConfigTranslationEditForm
Defines a form for editing configuration translations.

Namespace

Drupal\config_translation\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  drupal_set_message($this->t('Successfully updated @language translation.', array('@language' => $this->language->getName())));
}
doc_Drupal
2016-10-29 08:54:49
Comments
Leave a Comment

Please login to continue.