This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Data processor events¶
You can listen to two events for each data processor to extend its logic. An event is triggered before and after the execution of the data processor.
Event names¶
The name of the event is put together dynamically by a prefix and a suffix.
ses_pre_execute_
- the event before the executionses_post_execute_
- the event after the execution
The suffix is the ID of the DataProcessor
service. An example for the service ses_forms.create_ez_user
is:
ses_pre_execute_ses_forms.create_ez_user
ses_post_execute_ses_forms.create_ez_user
To listen to one of these events, define a service and tag it in configuration:
1 2 3 4 |
|
In the implemented class you can access and manipulate the normalized FormEntity
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
If you manipulate the normalized entity, remember that it affects the next DataProcessors
.