In Magento 2, is it possible to check if a module's installed at runtime?
In Magento 1 I'd either use the isModuleEnabled
helper method, or manually fetch the global configuration tree and check the nodes under <modules/>
.
Is there an isModuleEnabled
equivalent in Magento 2? If not how can I grab the global configuration and check for the module nodes I want?