You are here

protected function DeleteForm::getDeletionMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDeletionMessage()
  2. 9 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

core/modules/comment/src/Form/DeleteForm.php, line 39

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('The comment and all its replies have been deleted.');
}