You are here

public function DeleteBannerForm::getConfirmText in Dynamic Banner 8

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/forms/DeleteBannerForm.php, line 25

Class

DeleteBannerForm

Namespace

Drupal\dynamic_banner\forms

Code

public function getConfirmText() {
  return t('Delete');
}