You are here

public function BackupDeleteForm::getConfirmText in Backup and Migrate 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Form/BackupDeleteForm.php \Drupal\backup_migrate\Form\BackupDeleteForm::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

src/Form/BackupDeleteForm.php, line 48

Class

BackupDeleteForm

Namespace

Drupal\backup_migrate\Form

Code

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