public function ConfigTranslationDeleteForm::getConfirmText in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php, line 95
Class
- ConfigTranslationDeleteForm
- Builds a form to delete configuration translation.
Namespace
Drupal\config_translation\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}