public function WebformSubmissionsPurgeForm::getConfirmText in Webform 6.x
Same name and namespace in other branches
- 8.5 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');
}