You are here

protected function MenuLinkContent::getUuid in Drupal 8

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

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