filter_test.schema.yml 632 B

12345678910111213141516171819202122
  1. # Schema for the configuration files of the Filter test module.
  2. filter_settings.filter_test_restrict_tags_and_attributes:
  3. type: filter
  4. label: 'Filter to restirct HTML tags and attributes'
  5. mapping:
  6. restrictions:
  7. type: mapping
  8. label: 'Restrictions'
  9. mapping:
  10. allowed:
  11. type: sequence
  12. label: 'Allowed tags and attributes'
  13. sequence:
  14. type: ignore
  15. label: 'Tag and optionally list of attributes'
  16. forbidden_tags:
  17. type: sequence
  18. label: 'Forbidden tags'
  19. sequence:
  20. type: boolean
  21. label: 'Tag'