W3cubDocs

/Drupal 8

protected property EntityForm::$entity

The entity being used by this form.

Type: \Drupal\Core\Entity\EntityInterface

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 56

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

protected $entity;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityForm.php/property/EntityForm::entity/8.1.x