ShortcutForm::$entity

Same name in other branches
  1. 9 core/modules/shortcut/src/ShortcutForm.php \Drupal\shortcut\ShortcutForm::entity
  2. 8.9.x core/modules/shortcut/src/ShortcutForm.php \Drupal\shortcut\ShortcutForm::entity
  3. 11.x core/modules/shortcut/src/ShortcutForm.php \Drupal\shortcut\ShortcutForm::entity

The entity being used by this form.

Type: \Drupal\shortcut\ShortcutInterface

Overrides ContentEntityForm::$entity

File

core/modules/shortcut/src/ShortcutForm.php, line 21

Class

ShortcutForm
Form handler for the shortcut entity forms.

Namespace

Drupal\shortcut

Code

protected $entity;

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