You are here

options.schema.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/options/config/schema/options.schema.yml
core/modules/options/config/schema/options.schema.yml

File

core/modules/options/config/schema/options.schema.yml
View source
  1. # Schema for the configuration files of the Options module.
  2. field.storage_settings.list_integer:
  3. type: mapping
  4. label: 'List (integer) settings'
  5. mapping:
  6. allowed_values:
  7. type: sequence
  8. label: 'Allowed values list'
  9. sequence:
  10. type: mapping
  11. label: 'Allowed value with label'
  12. mapping:
  13. value:
  14. type: integer
  15. label: 'Value'
  16. label:
  17. type: label
  18. label: 'Label'
  19. allowed_values_function:
  20. type: string
  21. label: 'Allowed values function'
  22. field.field_settings.list_integer:
  23. label: 'List (integer) settings'
  24. type: mapping
  25. field.value.list_integer:
  26. type: mapping
  27. label: 'Default value'
  28. mapping:
  29. value:
  30. type: integer
  31. label: 'Value'
  32. field.storage_settings.list_float:
  33. type: mapping
  34. label: 'List (float) settings'
  35. mapping:
  36. allowed_values:
  37. type: sequence
  38. label: 'Allowed values list'
  39. sequence:
  40. type: mapping
  41. label: 'Allowed value with label'
  42. mapping:
  43. value:
  44. type: float
  45. label: 'Value'
  46. label:
  47. type: label
  48. label: 'Label'
  49. allowed_values_function:
  50. type: string
  51. label: 'Allowed values function'
  52. field.field_settings.list_float:
  53. label: 'List (float) settings'
  54. type: mapping
  55. field.value.list_float:
  56. type: mapping
  57. label: 'Default value'
  58. mapping:
  59. value:
  60. type: string
  61. label: 'Value'
  62. field.storage_settings.list_string:
  63. type: mapping
  64. label: 'List (text) settings'
  65. mapping:
  66. allowed_values:
  67. type: sequence
  68. label: 'Allowed values list'
  69. sequence:
  70. type: mapping
  71. label: 'Allowed value with label'
  72. mapping:
  73. value:
  74. type: string
  75. label: 'Value'
  76. label:
  77. type: label
  78. label: 'Label'
  79. allowed_values_function:
  80. type: string
  81. label: 'Allowed values function'
  82. field.field_settings.list_string:
  83. label: 'List (text) settings'
  84. type: mapping
  85. field.value.list_string:
  86. type: mapping
  87. label: 'Default value'
  88. mapping:
  89. value:
  90. type: string
  91. label: 'Value'
  92. field.formatter.settings.list_default:
  93. type: mapping
  94. label: 'Options list default display settings'
  95. field.formatter.settings.list_key:
  96. type: mapping
  97. label: 'Key format settings'
  98. field.widget.settings.options_buttons:
  99. type: mapping
  100. label: 'Check boxes/radio buttons format settings'
  101. field.widget.settings.options_select:
  102. type: mapping
  103. label: 'Select list format settings'
  104. views.argument.number_list_field:
  105. type: views.argument.numeric
  106. mapping:
  107. summary:
  108. type: mapping
  109. label: 'Display a summary'
  110. mapping:
  111. sort_order:
  112. type: string
  113. label: 'Sort order'
  114. number_of_records:
  115. type: integer
  116. label: 'Sort by'
  117. format:
  118. type: string
  119. label: 'Format'
  120. human:
  121. type: boolean
  122. views.argument.string_list_field:
  123. type: views.argument.string
  124. mapping:
  125. summary:
  126. type: mapping
  127. label: 'Display a summary'
  128. mapping:
  129. sort_order:
  130. type: string
  131. label: 'Sort order'
  132. number_of_records:
  133. type: integer
  134. label: 'Sort by'
  135. format:
  136. type: string
  137. label: 'Format'
  138. human:
  139. type: boolean
  140. views.filter.list_field:
  141. type: views.filter.many_to_one