Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a drupal.stackexchange
scroll top