function VocabularyResetForm::__construct

Same name in other branches
  1. 8.9.x core/modules/taxonomy/src/Form/VocabularyResetForm.php \Drupal\taxonomy\Form\VocabularyResetForm::__construct()
  2. 10 core/modules/taxonomy/src/Form/VocabularyResetForm.php \Drupal\taxonomy\Form\VocabularyResetForm::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.