You are here

protected function MenuLinkContent::getUuid in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getUuid()

Returns the unique ID representing the menu link.

Return value

string The menu link ID.

1 call to MenuLinkContent::getUuid()
MenuLinkContent::getEntity in core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php
Loads the entity associated with this menu link.

File

core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php, line 211

Class

MenuLinkContent
Provides the menu link plugin for content menu links.

Namespace

Drupal\menu_link_content\Plugin\Menu

Code

protected function getUuid() {
  return $this
    ->getDerivativeId();
}