You are here

protected function YamlFormSubmissionDeleteForm::getDeletionMessage in YAML Form 8

Overrides ContentEntityDeleteForm::getDeletionMessage

File

src/Form/YamlFormSubmissionDeleteForm.php, line 88

Class

YamlFormSubmissionDeleteForm
Provides a confirmation form for deleting a form submission.

Namespace

Drupal\yamlform\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('@title has been deleted.', [
    '@title' => $this->yamlformSubmission
      ->label(),
  ]);
}