You are here

protected function MenuLinkConfig::getUuid in Config menu link 8

Returns the unique ID representing the menu link.

Return value

string The menu link ID.

Overrides MenuLinkContent::getUuid

File

src/Plugin/Menu/MenuLinkConfig.php, line 156
Contains \Drupal\menu_link_config\Plugin\Menu\MenuLinkConfig.

Class

MenuLinkConfig
Provides a menu link plugin based upon storage in config.

Namespace

Drupal\menu_link_config\Plugin\Menu

Code

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