Affects Version/s: 4.4.0
Fix Version/s: None
Component/s: Legacy > Workflows
The workflow classes are in the autoload array.
But the method eZWorkflowType::loadAndRegisterType don't use it but use his own include file.
So we can't override a kernel workflow easily.
Try to overwrite a kernel workflow.
For example :
- Create the file extension/my_extension/eventtypes/event/ezmultiplexer/ezmultiplexertype.php
- Allow the kernel override in config.php
- Regenerate the autoload array : bin/php/ezpgenerateautoloads.php -o
- You can see in the var/autoload/ezp_override.php file that your workflow is overwrite
But it doesn't