function VocabularyDeleteForm::getDescription

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

Overrides EntityConfirmFormBase::getDescription

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 31

Class

VocabularyDeleteForm
Provides a deletion confirmation form for taxonomy vocabulary.

Namespace

Drupal\taxonomy\Form

Code

public function getDescription() {
    return $this->t('Deleting a vocabulary will delete all the terms in it. This action cannot be undone.');
}

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