function TermDeleteForm::getDescription

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

Overrides ContentEntityConfirmFormBase::getDescription

File

core/modules/taxonomy/src/Form/TermDeleteForm.php, line 34

Class

TermDeleteForm
Provides a deletion confirmation form for taxonomy term.

Namespace

Drupal\taxonomy\Form

Code

public function getDescription() {
    return $this->t('Deleting a term will delete all its children if there are any. This action cannot be undone.');
}

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