recipe.yml

core/tests/fixtures/recipes/config_rollback_exception/recipe.yml

File

core/tests/fixtures/recipes/config_rollback_exception/recipe.yml

View source
  1. name: Config rollback exception
  2. install:
  3. - filter
  4. - media
  5. config:
  6. import:
  7. filter: '*'
  8. media: '*'
  9. actions:
  10. filter.format.plain_text:
  11. setFilterConfig:
  12. instance_id: media_embed
  13. configuration: []
  14. system.image:
  15. # This will cause a validation error, which will trigger a rollback.
  16. # The rollback should fail, since the Media module can't be uninstalled
  17. # now that the plain_text format is using one of its filters.
  18. simpleConfigUpdate:
  19. non_existent_key: whatever!

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.