You are here

public function VocabularyResetForm::getDescription in Zircon Profile 8

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

Returns additional text to display as a description.

Return value

string The form description.

Overrides EntityConfirmFormBase::getDescription

File

core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 70
Contains \Drupal\taxonomy\Form\VocabularyResetForm.

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