You are here

public function VocabularyDeleteForm::getDescription in Zircon Profile 8

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

Returns additional text to display as a description.

Return value

string The form description.

Overrides EntityConfirmFormBase::getDescription

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 34
Contains \Drupal\taxonomy\Form\VocabularyDeleteForm.

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