Pregunta

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?

¿Fue útil?

Solución

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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a drupal.stackexchange
scroll top