DeleteForm::getDescription

public DeleteForm::getDescription()

Returns additional text to display as a description.

Return value

string The form description.

Overrides ContentEntityConfirmFormBase::getDescription

File

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

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.');
}
doc_Drupal
2016-10-29 09:02:09
Comments
Leave a Comment

Please login to continue.