You are here

protected property MenuLinkEntity::$entity in Admin Toolbar 3.x

Same name and namespace in other branches
  1. 8.2 admin_toolbar_tools/src/Plugin/Menu/MenuLinkEntity.php \Drupal\admin_toolbar_tools\Plugin\Menu\MenuLinkEntity::entity

The entity represented in the menu link.

Type: \Drupal\Core\Entity\EntityInterface

File

admin_toolbar_tools/src/Plugin/Menu/MenuLinkEntity.php, line 22

Class

MenuLinkEntity
Provides a menu link plugins for configuration entities.

Namespace

Drupal\admin_toolbar_tools\Plugin\Menu

Code

protected $entity;