function DeleteForm::getDescription

Same name in other branches
  1. 8.9.x core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDescription()
  2. 10 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDescription()
  3. 11.x core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDescription()

Overrides ContentEntityConfirmFormBase::getDescription

File

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

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

public function getDescription() {
    return $this->t('Any replies to this comment will be lost. This action cannot be undone.');
}

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