You are here

public function YamlFormSubmissionsDeleteFormBase::getFinishedMessage in YAML Form 8

Message to displayed after submissions are deleted.

Return value

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

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

File

src/Form/YamlFormSubmissionsDeleteFormBase.php, line 111

Class

YamlFormSubmissionsDeleteFormBase
Base form for deleting form submission.

Namespace

Drupal\yamlform\Form

Code

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