views.filter.schema.yml

Same filename in other branches
  1. 9 core/modules/views/config/schema/views.filter.schema.yml
  2. 8.9.x core/modules/views/config/schema/views.filter.schema.yml
  3. 10 core/modules/views/config/schema/views.filter.schema.yml
core/modules/views/config/schema/views.filter.schema.yml

File

core/modules/views/config/schema/views.filter.schema.yml

View source
  1. # Schema for the views filter plugins.
  2. views.filter.*:
  3. type: views_filter
  4. label: 'Default filter'
  5. views.filter.boolean:
  6. type: views_filter
  7. label: 'Boolean'
  8. views_filter_boolean_string:
  9. type: views_filter
  10. label: 'Boolean string'
  11. views.filter.broken:
  12. type: views_filter
  13. label: 'Broken'
  14. views.filter.bundle:
  15. type: views.filter.in_operator
  16. label: 'Bundle'
  17. views.filter.combine:
  18. type: views.filter.string
  19. label: 'Combine'
  20. mapping:
  21. fields:
  22. type: sequence
  23. label: 'Fields'
  24. sequence:
  25. type: string
  26. label: 'Field'
  27. views.filter_value.groupby_numeric:
  28. type: views.filter_value.numeric
  29. label: 'Group by numeric'
  30. views.filter.in_operator:
  31. type: views_filter
  32. label: 'IN operator'
  33. mapping:
  34. operator:
  35. type: string
  36. label: 'Operator'
  37. value:
  38. type: sequence
  39. label: 'Values'
  40. sequence:
  41. type: string
  42. label: 'Value'
  43. expose:
  44. type: mapping
  45. label: 'Expose'
  46. mapping:
  47. reduce:
  48. type: boolean
  49. label: 'Reduce'
  50. group_info:
  51. mapping:
  52. group_items:
  53. sequence:
  54. type: views.filter.group_item.in_operator
  55. label: 'Group item'
  56. views.filter.string:
  57. type: views_filter
  58. label: 'String'
  59. mapping:
  60. expose:
  61. type: mapping
  62. label: 'Exposed'
  63. mapping:
  64. required:
  65. type: boolean
  66. label: 'Required'
  67. placeholder:
  68. type: label
  69. label: 'Placeholder'
  70. value:
  71. type: string
  72. label: 'Value'
  73. views.filter.numeric:
  74. type: views_filter
  75. label: 'Numeric'
  76. mapping:
  77. expose:
  78. type: mapping
  79. label: 'Exposed'
  80. mapping:
  81. min_placeholder:
  82. type: label
  83. label: 'Min placeholder'
  84. max_placeholder:
  85. type: label
  86. label: 'Max placeholder'
  87. placeholder:
  88. type: label
  89. label: 'Placeholder'
  90. views.filter_value.numeric:
  91. type: mapping
  92. label: 'Numeric'
  93. mapping:
  94. min:
  95. type: string
  96. label: 'Min'
  97. max:
  98. type: string
  99. label: 'And max'
  100. value:
  101. type: string
  102. label: 'Value'
  103. views.filter_value.*:
  104. type: string
  105. label: 'Filter value'
  106. views.filter_value.equality:
  107. type: string
  108. label: 'Equality'
  109. views.filter.many_to_one:
  110. type: views.filter.in_operator
  111. label: 'Many to one'
  112. mapping:
  113. reduce_duplicates:
  114. type: boolean
  115. label: 'Reduce duplicate'
  116. views.filter.entity_reference:
  117. type: views.filter.many_to_one
  118. label: 'Entity reference'
  119. constraints:
  120. FullyValidatable: ~
  121. mapping:
  122. sub_handler:
  123. type: string
  124. label: 'Selection handler'
  125. constraints:
  126. PluginExists:
  127. manager: plugin.manager.entity_reference_selection
  128. interface: 'Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface'
  129. widget:
  130. type: string
  131. label: 'Selection type'
  132. sub_handler_settings:
  133. type: entity_reference_selection.[%parent.sub_handler]
  134. label: 'Selection handler settings'
  135. views.filter.standard:
  136. type: views_filter
  137. label: 'Standard'
  138. # Schema for the views group items.
  139. views.filter.group_item.*:
  140. type: views_filter_group_item
  141. label: 'Group item'
  142. views.filter.group_item.boolean:
  143. type: views_filter_group_item
  144. mapping:
  145. value:
  146. type: views.filter_value.string
  147. views.filter.group_item.in_operator:
  148. type: views_filter_group_item
  149. mapping:
  150. value:
  151. type: views.filter_value.in_operator
  152. # Schema for the views filter value.
  153. views.filter_value.string:
  154. type: string
  155. views.filter_value.boolean:
  156. type: string
  157. views.filter_value.combine:
  158. type: string
  159. views.filter.language:
  160. type: views.filter.in_operator
  161. label: 'Language'
  162. views.filter.latest_revision:
  163. type: views_filter
  164. label: 'Latest revision'
  165. views.filter_value.date:
  166. type: views.filter_value.numeric
  167. label: 'Date'
  168. mapping:
  169. type:
  170. type: string
  171. label: 'Type'
  172. views.filter.date:
  173. type: views.filter.numeric
  174. label: 'Date'
  175. mapping:
  176. type:
  177. type: string
  178. label: 'Type'
  179. views.filter_value.in_operator:
  180. type: sequence
  181. label: 'Values'
  182. sequence:
  183. type: string
  184. label: 'Value'

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