You are here

public function ConfigTranslationDeleteForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 98
Contains \Drupal\config_translation\Form\ConfigTranslationDeleteForm.

Class

ConfigTranslationDeleteForm
Builds a form to delete configuration translation.

Namespace

Drupal\config_translation\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}