public function VocabularyResetForm::__construct in Drupal 9
Same name and namespace in other branches
- 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\FormCode
public function __construct(TermStorageInterface $term_storage) {
$this->termStorage = $term_storage;
}