You are here

protected property EntityPreSaveEvent::$entity in YAML Content 8

Same name and namespace in other branches
  1. 8.2 src/Event/EntityPreSaveEvent.php \Drupal\yaml_content\Event\EntityPreSaveEvent::entity

The entity prepared to be saved.

Type: \Drupal\Core\Entity\EntityInterface

File

src/Event/EntityPreSaveEvent.php, line 18

Class

EntityPreSaveEvent
Wraps a yaml content entity pre-save event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

protected $entity;