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

Entities available for export should be safe-listed #168

Closed saltednut closed 4 years ago

saltednut commented 4 years ago

We should add a 'safe list' of entity types to the Scenarios configuration. This would allow us to only present sane entity choices. Right now we have a sort of hard-coded "blacklist" approach that needs to be adjusted beyond just unsetting entity_embed_fake_entity's bundles, and so on.

Added config value to scenarios.settings

allowed:
  - comment
  - block_content
  - media
  - menu_link_content
  - node
  - taxonomy_term
  - user