You are here

public function WebformSubmissionsPurgeForm::getConfirmText in Webform 8.5

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

Returns a caption for the button that confirms the action.

Return value

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

Overrides WebformSubmissionsDeleteFormBase::getConfirmText

File

src/Form/WebformSubmissionsPurgeForm.php, line 104

Class

WebformSubmissionsPurgeForm
Webform for webform submission purge webform.

Namespace

Drupal\webform\Form

Code

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