protected property EntityForm::$entity in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entity
- 9 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 47
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
protected $entity;