function MenuLinkContentInterface::getPluginDefinition
Same name in other branches
- 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getPluginDefinition()
- 8.9.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getPluginDefinition()
- 11.x 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 100
Class
- MenuLinkContentInterface
- Defines an interface for custom menu links.
Namespace
Drupal\menu_link_contentCode
public function getPluginDefinition();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.