You are here

public function WebformSubmissionsDeleteFormBase::getFinishedMessage in Webform 8.5

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

Message to displayed after submissions are deleted.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Message to be displayed after delete has finished.

2 calls to WebformSubmissionsDeleteFormBase::getFinishedMessage()
WebformSubmissionsDeleteFormBase::batchFinish in src/Form/WebformSubmissionsDeleteFormBase.php
Batch API callback; Completed deletion.
WebformSubmissionsDeleteFormBase::submitForm in src/Form/WebformSubmissionsDeleteFormBase.php
Form submission handler.
1 method overrides WebformSubmissionsDeleteFormBase::getFinishedMessage()
WebformSubmissionsPurgeForm::getFinishedMessage in src/Form/WebformSubmissionsPurgeForm.php
Message to displayed after submissions are deleted.

File

src/Form/WebformSubmissionsDeleteFormBase.php, line 137

Class

WebformSubmissionsDeleteFormBase
Base webform for deleting webform submission.

Namespace

Drupal\webform\Form

Code

public function getFinishedMessage() {
  return $this
    ->t('Webform submissions cleared.');
}