function MenuLinkContent::getUuid

Same name 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. 10 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getUuid()
  3. 11.x 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.