You are here

filter.schema.yml in Drupal 10

core/modules/filter/config/schema/filter.schema.yml

File

core/modules/filter/config/schema/filter.schema.yml
View source
  1. # Schema for the configuration files of the Filter module.
  2. filter.settings:
  3. type: config_object
  4. label: 'Filter settings'
  5. mapping:
  6. fallback_format:
  7. type: string
  8. label: 'Fallback text format'
  9. always_show_fallback_choice:
  10. type: boolean
  11. label: 'Always show fallback choice'
  12. filter.format.*:
  13. type: config_entity
  14. label: 'Text formats'
  15. mapping:
  16. name:
  17. type: label
  18. label: 'Name'
  19. format:
  20. type: string
  21. label: 'Machine name'
  22. weight:
  23. type: integer
  24. label: 'Weight'
  25. roles:
  26. type: sequence
  27. label: 'Roles'
  28. sequence:
  29. type: string
  30. label: 'Role'
  31. filters:
  32. type: sequence
  33. label: 'Enabled filters'
  34. sequence:
  35. type: filter
  36. dependencies:
  37. type: config_dependencies
  38. label: 'Dependencies'
  39. filter_settings.*:
  40. type: sequence
  41. label: 'Filter settings'
  42. sequence:
  43. type: string
  44. label: 'Value'
  45. filter_settings.filter_html:
  46. type: filter
  47. label: 'Filter HTML'
  48. mapping:
  49. allowed_html:
  50. type: string
  51. label: 'Allowed HTML'
  52. filter_html_help:
  53. type: boolean
  54. label: 'HTML help'
  55. filter_html_nofollow:
  56. type: boolean
  57. label: 'HTML nofollow'
  58. filter_settings.filter_url:
  59. type: filter
  60. label: 'Filter URL'
  61. mapping:
  62. filter_url_length:
  63. type: integer
  64. label: 'URL length'