icon_test.schema.yml

Same filename and directory in other branches
  1. 11.x core/modules/system/tests/modules/icon_test/config/schema/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. PositiveOrZero: ~
  12. height:
  13. type: integer
  14. label: 'Height'
  15. constraints:
  16. PositiveOrZero: ~
  17. icon.icon_pack_options.test_svg:
  18. type: mapping
  19. label: 'Test svg settings'
  20. constraints:
  21. FullyValidatable: ~
  22. mapping:
  23. size:
  24. type: integer
  25. label: 'Size'
  26. constraints:
  27. PositiveOrZero: ~
  28. icon.icon_pack_options.test_svg_sprite:
  29. type: mapping
  30. label: 'Test sprite settings'
  31. constraints:
  32. FullyValidatable: ~
  33. mapping:
  34. width:
  35. type: integer
  36. label: 'Width'
  37. constraints:
  38. PositiveOrZero: ~
  39. height:
  40. type: integer
  41. label: 'Height'
  42. constraints:
  43. PositiveOrZero: ~
  44. alt:
  45. type: label
  46. label: 'Alt'
  47. icon.icon_pack_options.test_settings:
  48. type: mapping
  49. label: 'Test settings'
  50. constraints:
  51. FullyValidatable: ~
  52. mapping:
  53. width:
  54. type: integer
  55. label: 'Width'
  56. constraints:
  57. PositiveOrZero: ~
  58. height:
  59. type: integer
  60. label: 'Height'
  61. constraints:
  62. PositiveOrZero: ~
  63. title:
  64. type: label
  65. label: 'Title'
  66. alt:
  67. type: label
  68. label: 'Alt'
  69. select:
  70. title: "Test select"
  71. type: "integer"
  72. boolean:
  73. title: "Test boolean"
  74. type: "boolean"
  75. decimal:
  76. title: "Test decimal"
  77. type: "number"
  78. number:
  79. title: "Test number min/max/step"
  80. type: "integer"

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