You are here

public function TaxonomyMenu::getMenu in Taxonomy menu 8.3

Get the menu that the menu items are being created in.

Return value

string The machine name of the menu entity holding the vocabulary's menu items.

Overrides TaxonomyMenuInterface::getMenu

2 calls to TaxonomyMenu::getMenu()
TaxonomyMenu::buildMenuDefinition in src/Entity/TaxonomyMenu.php
Generate a menu link plugin definition for a taxonomy term.
TaxonomyMenu::preSave in src/Entity/TaxonomyMenu.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/TaxonomyMenu.php, line 128

Class

TaxonomyMenu
Defines the TaxonomyMenu entity.

Namespace

Drupal\taxonomy_menu\Entity

Code

public function getMenu() {
  return $this->menu;
}