MenuLinkContent::$entity
Same name in other branches
- 8.9.x core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::entity
- 10 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::entity
- 11.x core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::entity
The menu link content entity connected to this plugin instance.
Type: \Drupal\menu_link_content\MenuLinkContentInterface
File
-
core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php, line 49
Class
- MenuLinkContent
- Provides the menu link plugin for content menu links.
Namespace
Drupal\menu_link_content\Plugin\MenuCode
protected $entity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.