You are here

xbbcode.schema.yml in Extensible BBCode 8.3

config/schema/xbbcode.schema.yml

File

config/schema/xbbcode.schema.yml
View source
  1. filter_settings.xbbcode:
  2. type: mapping
  3. label: 'XBBCode filter-specific settings'
  4. mapping:
  5. linebreaks:
  6. type: boolean
  7. label: 'Convert linebreaks'
  8. tags:
  9. type: string
  10. label: 'Tag set (optional)'
  11. xss:
  12. type: boolean
  13. label: 'Run XSS filter'
  14. xbbcode.tag_set.*:
  15. type: config_entity
  16. label: 'XBBCode tag set'
  17. mapping:
  18. id:
  19. type: string
  20. label: 'ID'
  21. label:
  22. type: label
  23. tags:
  24. type: sequence
  25. label: 'Collection of tag plugins'
  26. sequence:
  27. type: mapping
  28. label: 'Settings for one tag plugin'
  29. mapping:
  30. id:
  31. type: string
  32. label: 'Plugin ID'
  33. settings:
  34. type: xbbcode.plugin.settings.[%parent.plugin]
  35. label: 'Settings'
  36. third_party_settings:
  37. type: sequence
  38. label: 'Third party settings'
  39. sequence:
  40. type: xbbcode.plugin.third_party.[%key]
  41. xbbcode.tag.*:
  42. type: config_entity
  43. label: 'XBBCode tag'
  44. mapping:
  45. id:
  46. type: string
  47. label: 'ID'
  48. label:
  49. type: label
  50. description:
  51. type: text
  52. label: 'Description'
  53. name:
  54. type: string
  55. label: 'Default name'
  56. attached:
  57. type: mapping
  58. mapping:
  59. # Only the library key is supported for now.
  60. library:
  61. type: sequence
  62. label: 'Libraries'
  63. sequence:
  64. type: string
  65. label: 'Attachments'
  66. sample:
  67. type: text
  68. label: 'Sample code'
  69. template_code:
  70. type: string
  71. label: 'Inline template code'
  72. template_file:
  73. type: string
  74. label: 'Template file'
  75. settings:
  76. type: mapping
  77. label: 'Tag settings (reserved for future use)'
  78. third_party_settings:
  79. type: sequence
  80. label: 'Third party settings'
  81. sequence:
  82. type: xbbcode.tag_settings.third_party.[%key]
  83. editable:
  84. type: boolean
  85. label: 'Editable'