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