icon_test.schema.yml

core/modules/system/tests/modules/icon_test/config/schema/icon_test.schema.yml

File

core/modules/system/tests/modules/icon_test/config/schema/icon_test.schema.yml

View source
  1. icon.icon_pack_options.test_path:
  2. type: mapping
  3. label: 'Test path settings'
  4. constraints:
  5. FullyValidatable: ~
  6. mapping:
  7. width:
  8. type: integer
  9. label: 'Width'
  10. constraints:
  11. Range:
  12. min: 0
  13. height:
  14. type: integer
  15. label: 'Height'
  16. constraints:
  17. Range:
  18. min: 0
  19. icon.icon_pack_options.test_svg:
  20. type: mapping
  21. label: 'Test svg settings'
  22. constraints:
  23. FullyValidatable: ~
  24. mapping:
  25. size:
  26. type: integer
  27. label: 'Size'
  28. constraints:
  29. Range:
  30. min: 0
  31. icon.icon_pack_options.test_svg_sprite:
  32. type: mapping
  33. label: 'Test sprite settings'
  34. constraints:
  35. FullyValidatable: ~
  36. mapping:
  37. width:
  38. type: integer
  39. label: 'Width'
  40. constraints:
  41. Range:
  42. min: 0
  43. height:
  44. type: integer
  45. label: 'Height'
  46. constraints:
  47. Range:
  48. min: 0
  49. alt:
  50. type: label
  51. label: 'Alt'
  52. icon.icon_pack_options.test_settings:
  53. type: mapping
  54. label: 'Test settings'
  55. constraints:
  56. FullyValidatable: ~
  57. mapping:
  58. width:
  59. type: integer
  60. label: 'Width'
  61. constraints:
  62. Range:
  63. min: 0
  64. height:
  65. type: integer
  66. label: 'Height'
  67. constraints:
  68. Range:
  69. min: 0
  70. title:
  71. type: label
  72. label: 'Title'
  73. alt:
  74. type: label
  75. label: 'Alt'
  76. select:
  77. title: "Test select"
  78. type: "integer"
  79. boolean:
  80. title: "Test boolean"
  81. type: "boolean"
  82. decimal:
  83. title: "Test decimal"
  84. type: "number"
  85. number:
  86. title: "Test number min/max/step"
  87. type: "integer"

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