Same name and namespace in other branches
  1. 8.9.x core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getUuid()
  2. 9 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 246

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();
}