You are here

customfilter.schema.yml in Custom filter 2.0.x

Same filename and directory in other branches
  1. 8 config/schema/customfilter.schema.yml
config/schema/customfilter.schema.yml

File

config/schema/customfilter.schema.yml
View source
  1. customfilter.rules:
  2. type: mapping
  3. label: 'Rules'
  4. mapping:
  5. rid:
  6. type: string
  7. label: 'Rule Id'
  8. prid:
  9. type: string
  10. label: 'Id of parent rule'
  11. fid:
  12. type: string
  13. label: 'Id of the filter'
  14. name:
  15. type: string
  16. label: 'Label for this rule'
  17. description:
  18. type: string
  19. label: 'Description'
  20. enabled:
  21. type: boolean
  22. label: 'If this rule is enabled'
  23. matches:
  24. type: integer
  25. label: 'n-th matched substring in parent rule'
  26. pattern:
  27. type: string
  28. label: 'Pattern to search'
  29. replacement:
  30. type: string
  31. label: 'Replacement text'
  32. code:
  33. type: boolean
  34. label: 'When replacement text is php code'
  35. weight:
  36. type: integer
  37. label: 'Weight of rule, used for ordering'
  38. customfilter.filters.*:
  39. type: config_entity
  40. label: 'Customfilter Filters'
  41. mapping:
  42. id:
  43. type: string
  44. label: 'Machine Name'
  45. uuid:
  46. type: string
  47. label: 'Unique Identifier'
  48. name:
  49. type: label
  50. label: 'Name'
  51. cache:
  52. type: boolean
  53. label: 'When to use cache'
  54. description:
  55. type: string
  56. label: 'Description'
  57. shorttip:
  58. type: string
  59. label: 'Shorttip'
  60. longtip:
  61. type: string
  62. label: 'Longtip'
  63. rules:
  64. type: sequence
  65. sequence:
  66. - type: customfilter.rules