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?

有帮助吗?

解决方案

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.

其他提示

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.

许可以下: CC-BY-SA归因
scroll top