You are here

public function VocabularyDeleteForm::getDescription in Drupal 8

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

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

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.');
}