You are here

public function MenuLinkContentInterface::getPluginDefinition in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getPluginDefinition()

Builds up the menu link plugin definition for this entity.

Return value

array The plugin definition corresponding to this entity.

See also

\Drupal\Core\Menu\MenuLinkTree::$defaults

1 method overrides MenuLinkContentInterface::getPluginDefinition()
MenuLinkContent::getPluginDefinition in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Builds up the menu link plugin definition for this entity.

File

core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 103
Contains \Drupal\menu_link_content\MenuLinkContentInterface.

Class

MenuLinkContentInterface
Defines an interface for custom menu links.

Namespace

Drupal\menu_link_content

Code

public function getPluginDefinition();