You are here

protected property MenuLinkField::$entity in Menu Link (Field) 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Menu/MenuLinkField.php \Drupal\menu_link\Plugin\Menu\MenuLinkField::entity

The entity connected to this plugin instance.

Type: \Drupal\Core\Entity\EntityInterface

File

src/Plugin/Menu/MenuLinkField.php, line 24

Class

MenuLinkField
Provides a menu link plugin for field-based menu links.

Namespace

Drupal\menu_link\Plugin\Menu

Code

protected $entity;