You are here

public function WebformSubmissionsPurgeForm::getQuestion in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\Form

Code

public function getQuestion() {
  return $this
    ->t('Purge all submissions?');
}