protected property EntityPreSaveEvent::$entity in YAML Content 8.2
Same name and namespace in other branches
- 8 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\EventCode
protected $entity;