You are here

protected function WebformSubmissionDeleteForm::getDeletionMessage in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformSubmissionDeleteForm.php \Drupal\webform\Form\WebformSubmissionDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

src/Form/WebformSubmissionDeleteForm.php, line 155

Class

WebformSubmissionDeleteForm
Provides a confirmation webform for deleting a webform submission.

Namespace

Drupal\webform\Form

Code

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