0

How can I share a Drupal 8 configuration (content type, custom view/menu/block, etc.) with another website without the UUID limitation?

Each site has a unique UUID, and refuses to work with the configuration file of another website. It's a big problem that doesn't allow users to share their configuration with the world.

2

The best way is to use the features module which is pretty stable and useful. You can even bundle specific configs and install them later on any website as a module (thus not needing to install the module there).

  • Using Features is my recommendation as well since it now does only what it was always meant to do, and builds on CMI. Also note that single import/export has less strict validation and this is currently a concern that needs to be addressed in core. For dev purposes, you can also leverage drush devel-generate-uuid to generate UUIDs on the fly. Supposedly that should never be happening but in dev, who knows? – anavarre Oct 11 '15 at 6:49
0

The Configuration Development module allows you to export configuration that can be shared/re-installed by stripping out the UUID for you. Unlike features, you have to manually manage the config you want to export by listing them in your module info yml file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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