In this article, you going to see the discussion regarding How do I know if a module is enabled in Magento 2 in a detail and step by step in a simple way.
If you looking for this topic then you are at a right place.
Let’s check How do I know if a module is enable in Magento 2
It is very simple to check this whether module is not disabled.
There many command with the help of which you check each and every thing regarding module.
In this case we have check regarding module only.
So you can come know regarding module enable or not using only.
Use the below command to check status of module.
It will display list all the module which are enable.
From this list you come to know whether module is enable or not.
Below is the command which is to be used from which you come to know you module enabled or not.
php bin/magento module:status
There is also another method by which you come to know whether your module is enable or not.
With help of
config.xml file which consist list of all the module which are install and set to number 0 and 1.
If the module name is set to Zero then is disabled.
If it is set to One then module is enabled.
The path of the
config.xml file is given below.
In this you will get list of all the module which are installed.
Using above code you come know module is enable or not in Magento 2.