function DeleteForm::getDeletionMessage

Same name in other branches
  1. 9 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDeletionMessage()
  2. 10 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDeletionMessage()
  3. 11.x 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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.