You are here

public function SettingsProfileDeleteForm::getConfirmText in Backup and Migrate 8.4

Same name and namespace in other branches
  1. 5.0.x src/Form/SettingsProfileDeleteForm.php \Drupal\backup_migrate\Form\SettingsProfileDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/SettingsProfileDeleteForm.php, line 31

Class

SettingsProfileDeleteForm
Builds the form to delete Settings Profile entities.

Namespace

Drupal\backup_migrate\Form

Code

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