public function TaxonomyMenuInterface::buildMenuPluginId in Taxonomy menu 8.3
Generates a menu link id for the taxonomy term.
Parameters
\Drupal\taxonomy\TermInterface $term: Term to build menu item for.
bool $include_base_plugin_id: Include base plugin id in menu item id.
Return value
string A unique string id for the menu item.
1 method overrides TaxonomyMenuInterface::buildMenuPluginId()
- TaxonomyMenu::buildMenuPluginId in src/
Entity/ TaxonomyMenu.php - Generates a menu link id for the taxonomy term.
File
- src/
TaxonomyMenuInterface.php, line 78
Class
- TaxonomyMenuInterface
- Provides an interface defining a TaxonomyMenu entity.
Namespace
Drupal\taxonomy_menuCode
public function buildMenuPluginId(TermInterface $term, $include_base_plugin_id = TRUE);