You are here

protected property RevisionableContentEntityForm::$entity in Entity API 8

Same name and namespace in other branches
  1. 8.0 src/Form/RevisionableContentEntityForm.php \Drupal\entity\Form\RevisionableContentEntityForm::entity

The entity being used by this form.

Type: \Drupal\Core\Entity\ContentEntityInterface|\Drupal\Core\Entity\RevisionLogInterface

Overrides ContentEntityForm::$entity

File

src/Form/RevisionableContentEntityForm.php, line 23

Class

RevisionableContentEntityForm
Extends the base entity form with revision support in the UI.

Namespace

Drupal\entity\Form

Code

protected $entity;