public function WebformSubmissionsPurgeForm::getConfirmText in Webform 8.5
Same name and namespace in other branches
- 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\FormCode
public function getConfirmText() {
return $this
->t('Purge');
}