EntityAddedToPersistenceEvent

The PSR-14 event \TYPO3\CMS\Extbase\Event\Persistence\EntityAddedToPersistenceEvent is dispatched after persisting the object, but before updating the reference index and adding the object to the persistence session.

Example

API

class \TYPO3\CMS\Extbase\Event\Persistence\ EntityAddedToPersistenceEvent

Event which is fired after an object/entity was sent to persistence layer to be added, but before updating the reference index and current session.

getObject ( )
returntype

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface