MenuLinkContentForm::$entity

Same name in other branches
  1. 8.9.x core/modules/menu_link_content/src/Form/MenuLinkContentForm.php \Drupal\menu_link_content\Form\MenuLinkContentForm::entity
  2. 10 core/modules/menu_link_content/src/Form/MenuLinkContentForm.php \Drupal\menu_link_content\Form\MenuLinkContentForm::entity
  3. 11.x core/modules/menu_link_content/src/Form/MenuLinkContentForm.php \Drupal\menu_link_content\Form\MenuLinkContentForm::entity

The content menu link.

Type: \Drupal\menu_link_content\MenuLinkContentInterface

Overrides ContentEntityForm::$entity

File

core/modules/menu_link_content/src/Form/MenuLinkContentForm.php, line 27

Class

MenuLinkContentForm
Provides a form to add/update content menu links.

Namespace

Drupal\menu_link_content\Form

Code

protected $entity;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.