You are here

public function VocabularyResetForm::__construct 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::__construct()

Constructs a new VocabularyResetForm object.

Parameters

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

File

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

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;
}