options.schema.yml

Same filename in other branches
  1. 9 core/modules/options/config/schema/options.schema.yml
  2. 8.9.x core/modules/options/config/schema/options.schema.yml
  3. 11.x 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. # This field type has no field instance settings, so no specific config schema type.
  3. # @see `type: field.field_settings.*`
  4. field.storage_settings.list_integer:
  5. type: mapping
  6. label: 'List (integer) settings'
  7. mapping:
  8. allowed_values:
  9. type: sequence
  10. label: 'Allowed values list'
  11. sequence:
  12. type: mapping
  13. label: 'Allowed value with label'
  14. mapping:
  15. value:
  16. type: integer
  17. label: 'Value'
  18. label:
  19. type: label
  20. label: 'Label'
  21. allowed_values_function:
  22. type: string
  23. label: 'Allowed values function'
  24. field.value.list_integer:
  25. type: mapping
  26. label: 'Default value'
  27. mapping:
  28. value:
  29. type: integer
  30. label: 'Value'
  31. # This field type has no field instance settings, so no specific config schema type.
  32. # @see `type: field.field_settings.*`
  33. field.storage_settings.list_float:
  34. type: mapping
  35. label: 'List (float) settings'
  36. mapping:
  37. allowed_values:
  38. type: sequence
  39. label: 'Allowed values list'
  40. sequence:
  41. type: mapping
  42. label: 'Allowed value with label'
  43. mapping:
  44. value:
  45. type: float
  46. label: 'Value'
  47. label:
  48. type: label
  49. label: 'Label'
  50. allowed_values_function:
  51. type: string
  52. label: 'Allowed values function'
  53. field.value.list_float:
  54. type: mapping
  55. label: 'Default value'
  56. mapping:
  57. value:
  58. type: string
  59. label: 'Value'
  60. # This field type has no field instance settings, so no specific config schema type.
  61. # @see `type: field.field_settings.*`
  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.value.list_string:
  83. type: mapping
  84. label: 'Default value'
  85. mapping:
  86. value:
  87. type: string
  88. label: 'Value'
  89. field.formatter.settings.list_default:
  90. type: mapping
  91. label: 'Options list default display settings'
  92. field.formatter.settings.list_key:
  93. type: mapping
  94. label: 'Key format settings'
  95. field.widget.settings.options_buttons:
  96. type: mapping
  97. label: 'Check boxes/radio buttons format settings'
  98. field.widget.settings.options_select:
  99. type: mapping
  100. label: 'Select list format settings'
  101. views.argument.number_list_field:
  102. type: views.argument.numeric
  103. mapping:
  104. summary:
  105. type: mapping
  106. label: 'Display a summary'
  107. mapping:
  108. sort_order:
  109. type: string
  110. label: 'Sort order'
  111. number_of_records:
  112. type: integer
  113. label: 'Sort by'
  114. format:
  115. type: string
  116. label: 'Format'
  117. human:
  118. type: boolean
  119. views.argument.string_list_field:
  120. type: views.argument.string
  121. mapping:
  122. summary:
  123. type: mapping
  124. label: 'Display a summary'
  125. mapping:
  126. sort_order:
  127. type: string
  128. label: 'Sort order'
  129. number_of_records:
  130. type: integer
  131. label: 'Sort by'
  132. format:
  133. type: string
  134. label: 'Format'
  135. human:
  136. type: boolean
  137. views.filter.list_field:
  138. type: views.filter.many_to_one

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