Question

I enabled these core modules: Language, Content translation, Config translation, and Interface translation. I exported the core.extensions.yml file, but when I placed the same file in the development environment, those modules weren't installed.

How can I install modules by exporting the configuration?

Was it helpful?

Solution

You need to import the configuration from the file, into the database. Configuration files are only a backup to configuration. The active configuration is in the database.

You can import configuration at /admin/config/development/configuration or run drush cim.

OTHER TIPS

You have to import the configuration files after you export them. Either from the UI by going to configuration > configuration sync. Or using drush cim -y or drush csim -y if you were using config split.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top