You are here

views.field.schema.yml in Drupal 10

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

File

core/modules/views/config/schema/views.field.schema.yml
View source
  1. # Schema for the views field plugins.
  2. views.field.*:
  3. type: views_field
  4. label: 'Default field'
  5. views.field.boolean:
  6. type: views_field
  7. label: 'Boolean'
  8. mapping:
  9. type:
  10. type: string
  11. label: 'Output format'
  12. type_custom_true:
  13. type: string
  14. label: 'Custom output for TRUE'
  15. type_custom_false:
  16. type: string
  17. label: 'Custom output for FALSE'
  18. not:
  19. type: boolean
  20. label: 'Reverse'
  21. views.field.broken:
  22. type: views_field
  23. label: 'Broken'
  24. views.field.counter:
  25. type: views_field
  26. label: 'Counter'
  27. mapping:
  28. counter_start:
  29. type: integer
  30. label: 'Starting value'
  31. views.field.custom:
  32. type: views_field
  33. label: 'Custom'
  34. views.field.date:
  35. type: views_field
  36. label: 'Date'
  37. mapping:
  38. date_format:
  39. type: string
  40. label: 'Date format'
  41. custom_date_format:
  42. type: string
  43. label: 'Custom date format'
  44. timezone:
  45. type: string
  46. label: 'Timezone'
  47. views.field.entity_label:
  48. type: views_field
  49. label: 'Entity label'
  50. mapping:
  51. link_to_entity:
  52. type: boolean
  53. label: 'Link to entity'
  54. views.field.file_size:
  55. type: views_field
  56. label: 'File size'
  57. mapping:
  58. file_size_display:
  59. type: string
  60. label: 'File size display'
  61. views.field.links:
  62. type: views_field
  63. label: 'Links'
  64. mapping:
  65. fields:
  66. type: sequence
  67. label: 'Fields'
  68. sequence:
  69. type: string
  70. label: 'Field'
  71. destination:
  72. type: boolean
  73. label: 'Include destination'
  74. views.field.dropbutton:
  75. type: views.field.links
  76. label: 'Drop button'
  77. views.field.machine_name:
  78. type: views_field
  79. label: 'Machine name'
  80. mapping:
  81. machine_name:
  82. type: boolean
  83. label: 'Output machine name'
  84. views.field.markup:
  85. type: views_field
  86. label: 'Markup'
  87. views.field.numeric:
  88. type: views_field
  89. label: 'Numeric'
  90. mapping:
  91. set_precision:
  92. type: boolean
  93. label: 'Round'
  94. precision:
  95. type: integer
  96. label: 'Precision'
  97. decimal:
  98. type: string
  99. label: 'Decimal point'
  100. separator:
  101. type: string
  102. label: 'Thousands marker'
  103. format_plural:
  104. type: boolean
  105. label: 'Format plural'
  106. format_plural_string:
  107. type: plural_label
  108. label: 'Plural variants'
  109. prefix:
  110. type: label
  111. label: 'Prefix'
  112. suffix:
  113. type: label
  114. label: 'Suffix'
  115. views.field.prerender_list:
  116. type: views_field
  117. label: 'List'
  118. mapping:
  119. type:
  120. type: string
  121. label: 'Display type'
  122. separator:
  123. type: string
  124. label: 'Separator'
  125. views.field.serialized:
  126. type: views_field
  127. label: 'Serialized'
  128. mapping:
  129. format:
  130. type: string
  131. label: 'Display format'
  132. key:
  133. type: string
  134. label: 'Which key should be displayed'
  135. views.field.standard:
  136. type: views_field
  137. label: 'Standard'
  138. views.field.time_interval:
  139. type: views_field
  140. label: 'Time interval'
  141. mapping:
  142. granularity:
  143. type: integer
  144. label: 'Granularity'
  145. views.field.url:
  146. type: views_field
  147. label: 'URL'
  148. mapping:
  149. display_as_link:
  150. type: boolean
  151. label: 'Display as link'
  152. views.field.language:
  153. type: views_field
  154. label: 'Language'
  155. mapping:
  156. native_language:
  157. type: boolean
  158. label: 'Display in native language'
  159. views.field.rendered_entity:
  160. type: views_field
  161. label: 'Rendered entity'
  162. mapping:
  163. view_mode:
  164. type: string
  165. label: 'View mode'
  166. views.field.entity_link:
  167. type: views_field
  168. label: 'Entity link'
  169. mapping:
  170. text:
  171. type: label
  172. label: 'Text to display'
  173. output_url_as_text:
  174. type: boolean
  175. label: 'Output the URL as text'
  176. absolute:
  177. type: boolean
  178. label: 'Output an absolute link'
  179. views.field.entity_link_delete:
  180. type: views.field.entity_link
  181. label: 'Entity delete link'
  182. views.field.entity_link_edit:
  183. type: views.field.entity_link
  184. label: 'Entity edit link'
  185. views.field.bulk_form:
  186. type: views_field_bulk_form
  187. label: 'Bulk form'
  188. views.field.field:
  189. type: views_field
  190. label: 'Views entity field handler'
  191. mapping:
  192. click_sort_column:
  193. type: string
  194. label: 'Column used for click sorting'
  195. type:
  196. type: string
  197. label: 'Formatter'
  198. settings:
  199. label: 'Settings'
  200. type: field.formatter.settings.[%parent.type]
  201. group_column:
  202. type: string
  203. label: 'Group by column'
  204. group_columns:
  205. type: sequence
  206. label: 'Group by columns'
  207. sequence:
  208. type: string
  209. label: 'Column'
  210. group_rows:
  211. type: boolean
  212. label: 'Display all values in the same row'
  213. delta_limit:
  214. type: integer
  215. label: 'Field'
  216. delta_offset:
  217. type: integer
  218. label: 'Offset'
  219. delta_reversed:
  220. type: boolean
  221. label: 'Reversed'
  222. delta_first_last:
  223. type: boolean
  224. label: 'First and last only'
  225. multi_type:
  226. type: string
  227. label: 'Display type'
  228. separator:
  229. type: label
  230. label: 'Separator'
  231. field_api_classes:
  232. type: boolean
  233. label: 'Use field template'