Thursday 11 December 2014 12:32:56 pm - 2 replies
I used composer to install legacy extensions via my "AcmeLegacyBundle".
As expected legacy extensions are symlinked in ezpublish_legacy/extension and enabled (see vendor/ezsystems/ezpublish-kernel/doc/specifications/legacy_bundles/legacy_bundles.md )
Unfortunately I need some of these extensions not to be enabled by default. Is there's a way to bypass the auto activation process?
Saturday 04 March 2017 9:29:01 am
Hello Julien & Clément,
There are a few answers here that might help.
You could rename your extension.xml which would prevent autoloading via settings injection.
You could also in theory disable these extensions via yaml configuration (guess), "ezpublish_legacy.legacy_bundles_extensions":
If the parameters described above is not able to be customize via yaml you could very simply override this above class to provide for a 'ezpublish_legacy.legacy-bundles_extensions_disabled' parameter array which could be checked to not inject a specific extension into the legacy active extensions settings array.
I hope this helps!
You must be logged in to post messages in this topic!