public function DeleteForm::getDescription in Drupal 8
Same name and namespace in other branches
- 9 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDescription()
- 10 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ContentEntityConfirmFormBase::getDescription
File
- core/
modules/ comment/ src/ Form/ DeleteForm.php, line 32
Class
- DeleteForm
- Provides the comment delete confirmation form.
Namespace
Drupal\comment\FormCode
public function getDescription() {
return $this
->t('Any replies to this comment will be lost. This action cannot be undone.');
}