acquia / df

Demo Framework - mirrored at https://git.drupal.org/project/df.git
https://www.drupal.org/project/df
18 stars 19 forks source link

Scenario exports should be configurable by both bundle and entity type #167

Closed saltednut closed 4 years ago

saltednut commented 4 years ago

I've exposed some configuration in scenarios here.

This allows us to select the entity types we want exported when one hits the 'download' button.

This is pretty good for an MVP, but a more turnkey solution would be to load and expose the bundles of each entity type and save them instead.

To support these exclusions, we will need change the schema a bit and do some shuffling of the data on the config form options, during config form save AND before exports execute a CDF dump. It'll be a little less direct, but provide much more flexibility.

saltednut commented 4 years ago

Turns out it wasn't that much shuffling. https://git.drupalcode.org/project/scenarios/commit/c2e3a58