public function ConfigTranslationDeleteForm::getQuestion in Drupal 9
Same name and namespace in other branches
- 8 core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
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\FormCode
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(),
]);
}