You are here

public function MenuLinkContent::getPluginId in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/MenuLinkContent.php \Drupal\multiversion\Entity\MenuLinkContent::getPluginId()

Gets the menu plugin ID associated with this entity.

Return value

string The plugin ID.

Overrides MenuLinkContent::getPluginId

File

src/Entity/MenuLinkContent.php, line 13

Class

MenuLinkContent

Namespace

Drupal\multiversion\Entity

Code

public function getPluginId() {

  // Make the plugin ID unique adding the entity ID.
  return 'menu_link_content:' . $this
    ->uuid() . ':' . $this
    ->id();
}