How to override a core block controller from a package?
Permalink
Hi,
I tried overriding a core block controller, and it only works from the "application" folder. Is it possible to override from a package? I tried creating the same directory structure in my package namespace, I also tried Environment::overrideCoreByPackage(), but no success! I checked out the core code and it seems to me it's a built in "feature" (or bug). Is there a pretty workaround without overriding core files?
I tried overriding a core block controller, and it only works from the "application" folder. Is it possible to override from a package? I tried creating the same directory structure in my package namespace, I also tried Environment::overrideCoreByPackage(), but no success! I checked out the core code and it seems to me it's a built in "feature" (or bug). Is there a pretty workaround without overriding core files?