function ConfigTranslationDeleteForm::getQuestion

Same name in other branches
  1. 9 core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::getQuestion()
  2. 8.9.x core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::getQuestion()
  3. 10 core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::getQuestion()

Overrides ConfirmFormInterface::getQuestion

File

core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 88

Class

ConfigTranslationDeleteForm
Builds a form to delete configuration translation.

Namespace

Drupal\config_translation\Form

Code

public function getQuestion() {
    return $this->t('Are you sure you want to delete the @language translation of %label?', [
        '%label' => $this->mapper
            ->getTitle(),
        '@language' => $this->language
            ->getName(),
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.