EntityForm::$entity
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entity
- 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entity
- 11.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entity
The entity being used by this form.
Type: \Drupal\Core\Entity\EntityInterface
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityForm.php, line 48
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
protected $entity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.