function VocabularyForm::__construct
Same name in other branches
- 9 core/modules/taxonomy/src/VocabularyForm.php \Drupal\taxonomy\VocabularyForm::__construct()
- 8.9.x core/modules/taxonomy/src/VocabularyForm.php \Drupal\taxonomy\VocabularyForm::__construct()
- 11.x core/modules/taxonomy/src/VocabularyForm.php \Drupal\taxonomy\VocabularyForm::__construct()
Constructs a new vocabulary form.
Parameters
\Drupal\taxonomy\VocabularyStorageInterface $vocabulary_storage: The vocabulary storage.
File
-
core/
modules/ taxonomy/ src/ VocabularyForm.php, line 32
Class
- VocabularyForm
- Base form for vocabulary edit forms.
Namespace
Drupal\taxonomyCode
public function __construct(VocabularyStorageInterface $vocabulary_storage) {
$this->vocabularyStorage = $vocabulary_storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.