DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Data pre-processor service¶

Gives the possibility to modify the data used to create an object, just before it is converted.

For instance, you can use this feature to dynamically change the value of an input by the result of an external service.

Usage¶

You can activate this service for a given configuration object by attaching it to the ServiceFactory in the static function getConfigurationObjectServices(). Use the constant ServiceInterface::SERVICE_DATA_PRE_PROCESSOR as an identifier for this service (see example below).