0

I have got a custom module that creates two config entity types:

- type-1
- type-2

Those config entity types create config entities like for example:

 - my_module.type-1.config-1 
 - my_module.type-1.config-2
 - my_module.type-1.config-3


 - my_module.type-2.config-1 
 - my_module.type-2.config-2

When I now run a config import, or I install the drupal setup from scratch with config-import (e.g. drush site-install --config-dir="../config), I need to ensure that the config entities of type-2 are getting imported before the config entities of type-1.

Could someone give me a hint how to ensure that?

Your Answer

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

Browse other questions tagged or ask your own question.