public function WebformSubmissionsPurgeForm::getQuestion in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformSubmissionsPurgeForm.php \Drupal\webform\Form\WebformSubmissionsPurgeForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ WebformSubmissionsPurgeForm.php, line 23
Class
- WebformSubmissionsPurgeForm
- Webform for webform submission purge webform.
Namespace
Drupal\webform\FormCode
public function getQuestion() {
return $this
->t('Purge all submissions?');
}