Warning: You are browsing the documentation from version 4 to 10 of Pimcore.
Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version:
Edit on GitHub
Events
Another option to customize import behavior is listening for events. The bundle fires following events during the import process:
-
Pimcore\Bundle\DataImporterBundle\Event\DataObject\PreSaveEvent
: Fired just before an imported data object will be saved -
Pimcore\Bundle\DataImporterBundle\Event\DataObject\PostSaveEvent
: Fired just after an imported data object is saved
More events to come when needed (just provide PRs ;-) .