According to the Magento 2 docs: https://devdocs.magento.com/guides/v2.2/config-guide/config/disable-module-output.html


It is possible to completely disable a module's output, essentially disabling the module without actually doing it.

Is it possible to do this conditionally? For example, if [config is true] disable all output. I only need it for my own module, it doesn't have to work for other modules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.