public function TaxonomyMenu::getVocabulary in Taxonomy menu 8.3
Get the vocabulary being used.
Return value
string The vocabulary whose terms will be used to generate a menu.
Overrides TaxonomyMenuInterface::getVocabulary
2 calls to TaxonomyMenu::getVocabulary()
- TaxonomyMenu::getLinks in src/
Entity/ TaxonomyMenu.php - Get menu link plugin definitions.
- TaxonomyMenu::preSave in src/
Entity/ TaxonomyMenu.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ TaxonomyMenu.php, line 114
Class
- TaxonomyMenu
- Defines the TaxonomyMenu entity.
Namespace
Drupal\taxonomy_menu\EntityCode
public function getVocabulary() {
return $this->vocabulary;
}