How is the app/etc/config.php file generated by the \Magento\Framework\Module\Status::setIsEnabled()?

Usages

1. Console commands

1.1 module:disable

How is the app/etc/config.php file generated on the module:disable console command?

1.2 module:enable

How is the app/etc/config.php file generated on the module:enable console command?

2. Installation

How is the app/etc/config.php file generated on a Magento 2 installation?

See also: