3

When I create a module, where does the information of the newly enabled/installed module is stored in the database?

0

1 Answer 1

9

The information is stored in the config table.

Search for the record with name 'core.extension', the related data is an array of all enabled modules with their related weight.

2
  • 2
    It is also worth mentioning the key_value table entries of the modules. Under collection system.schema, the names of the installed modules with their respective schema versions is stored.
    – AjitS
    Oct 2, 2017 at 11:54
  • Also, if you export config with drush or another tool, it might be easier than looking through the database. See here: drupal.org/docs/8/configuration-management/… Oct 2, 2017 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.