public function MenuLinkContentInterface::getPluginDefinition in Drupal 8
Same name and namespace in other branches
- 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getPluginDefinition()
- 10 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();