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

Note

Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.

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()
Return type

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface