You are here

public function VocabularyResetForm::__construct in Drupal 9

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

Constructs a new VocabularyResetForm object.

Parameters

\Drupal\taxonomy\TermStorageInterface $term_storage: The term storage.

File

core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 30

Class

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

Namespace

Drupal\taxonomy\Form

Code

public function __construct(TermStorageInterface $term_storage) {
  $this->termStorage = $term_storage;
}