You are here

protected property EntityForm::$entity in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entity
  2. 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\Entity

Code

protected $entity;