You are here

public function VocabularyResetForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/Form/VocabularyResetForm.php \Drupal\taxonomy\Form\VocabularyResetForm::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/VocabularyResetForm.php, line 67

Class

VocabularyResetForm
Provides confirmation form for resetting a vocabulary to alphabetical order.

Namespace

Drupal\taxonomy\Form

Code

public function getDescription() {
  return $this
    ->t('Resetting a vocabulary will discard all custom ordering and sort items alphabetically.');
}