public function VocabularyForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 35 - Contains \Drupal\taxonomy\VocabularyForm.
Class
- VocabularyForm
- Base form for vocabulary edit forms.
Namespace
Drupal\taxonomyCode
public function __construct(VocabularyStorageInterface $vocabulary_storage) {
$this->vocabularyStorage = $vocabulary_storage;
}