You are here

public function WebformSubmissionsDeleteFormBase::getConfirmText in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformSubmissionsDeleteFormBase.php \Drupal\webform\Form\WebformSubmissionsDeleteFormBase::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides WebformDeleteFormBase::getConfirmText

1 method overrides WebformSubmissionsDeleteFormBase::getConfirmText()
WebformSubmissionsPurgeForm::getConfirmText in src/Form/WebformSubmissionsPurgeForm.php
Returns a caption for the button that confirms the action.

File

src/Form/WebformSubmissionsDeleteFormBase.php, line 75

Class

WebformSubmissionsDeleteFormBase
Base webform for deleting webform submission.

Namespace

Drupal\webform\Form

Code

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