core.entity.schema.yml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. # Schema for Configuration files of the entity module.
  2. core.entity_view_mode.*.*:
  3. type: config_entity
  4. label: 'Entity view mode settings'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. label:
  10. type: label
  11. label: 'The human-readable name of the view mode'
  12. targetEntityType:
  13. type: string
  14. label: 'Target entity type'
  15. cache:
  16. type: boolean
  17. label: 'Cached'
  18. core.entity_form_mode.*.*:
  19. type: config_entity
  20. label: 'Entity form mode settings'
  21. mapping:
  22. id:
  23. type: string
  24. label: 'ID'
  25. label:
  26. type: label
  27. label: 'Label'
  28. targetEntityType:
  29. type: string
  30. label: 'Target entity type'
  31. cache:
  32. type: boolean
  33. label: 'Cache'
  34. # Overview configuration information for view mode or form mode displays.
  35. core.entity_view_display.*.*.*:
  36. type: config_entity
  37. label: 'Entity display'
  38. mapping:
  39. id:
  40. type: string
  41. label: 'ID'
  42. targetEntityType:
  43. type: string
  44. label: 'Target entity type'
  45. bundle:
  46. type: string
  47. label: 'Bundle'
  48. mode:
  49. type: string
  50. label: 'View or form mode machine name'
  51. content:
  52. type: sequence
  53. label: 'Field formatters'
  54. sequence:
  55. type: field_formatter.entity_view_display
  56. hidden:
  57. type: sequence
  58. label: 'Field display setting'
  59. sequence:
  60. type: boolean
  61. label: 'Value'
  62. field_formatter:
  63. type: mapping
  64. label: 'Field formatter'
  65. mapping:
  66. type:
  67. type: string
  68. label: 'Format type machine name'
  69. label:
  70. type: string
  71. label: 'Label setting machine name'
  72. settings:
  73. type: field.formatter.settings.[%parent.type]
  74. label: 'Settings'
  75. third_party_settings:
  76. type: sequence
  77. label: 'Third party settings'
  78. sequence:
  79. type: field.formatter.third_party.[%key]
  80. field_formatter.entity_view_display:
  81. type: field_formatter
  82. mapping:
  83. weight:
  84. type: integer
  85. label: 'Weight'
  86. region:
  87. type: string
  88. label: 'Region'
  89. # Overview configuration information for form mode displays.
  90. core.entity_form_display.*.*.*:
  91. type: config_entity
  92. label: 'Entity form display'
  93. mapping:
  94. id:
  95. type: string
  96. label: 'ID'
  97. targetEntityType:
  98. type: string
  99. label: 'Target entity type'
  100. bundle:
  101. type: string
  102. label: 'Bundle'
  103. mode:
  104. type: string
  105. label: 'View or form mode machine name'
  106. status:
  107. type: boolean
  108. label: 'Enabled'
  109. content:
  110. type: sequence
  111. label: 'Field widgets'
  112. sequence:
  113. type: mapping
  114. label: 'Field widget'
  115. mapping:
  116. type:
  117. type: string
  118. label: 'Widget type machine name'
  119. weight:
  120. type: integer
  121. label: 'Weight'
  122. region:
  123. type: string
  124. label: 'Region'
  125. settings:
  126. type: field.widget.settings.[%parent.type]
  127. label: 'Settings'
  128. third_party_settings:
  129. type: sequence
  130. label: 'Third party settings'
  131. sequence:
  132. type: field.widget.third_party.[%key]
  133. hidden:
  134. type: sequence
  135. label: 'Hidden'
  136. sequence:
  137. type: boolean
  138. label: 'Component'
  139. # Default schema for entity display field with undefined type.
  140. field.formatter.settings.*:
  141. type: mapping
  142. # Default schema for entity form display field with undefined type.
  143. field.widget.settings.*:
  144. type: mapping
  145. field.widget.settings.string_textfield:
  146. type: mapping
  147. label: 'Text field display format settings'
  148. mapping:
  149. size:
  150. type: integer
  151. label: 'Size of textfield'
  152. placeholder:
  153. type: label
  154. label: 'Placeholder'
  155. field.widget.settings.string_textarea:
  156. type: mapping
  157. label: 'Textarea display format settings'
  158. mapping:
  159. rows:
  160. type: integer
  161. label: 'Rows'
  162. placeholder:
  163. type: label
  164. label: 'Placeholder'
  165. field.widget.settings.uri:
  166. type: mapping
  167. label: 'URI field'
  168. mapping:
  169. size:
  170. type: integer
  171. label: 'Size of URI field'
  172. placeholder:
  173. type: label
  174. label: 'Placeholder'
  175. field.widget.settings.email_default:
  176. type: mapping
  177. label: 'Email field display format settings'
  178. mapping:
  179. placeholder:
  180. type: label
  181. label: 'Placeholder'
  182. size:
  183. type: integer
  184. label: 'Size of email field'
  185. field.widget.settings.datetime_timestamp:
  186. type: mapping
  187. label: 'Datetime timestamp display format settings'
  188. field.widget.settings.boolean_checkbox:
  189. type: mapping
  190. label: 'Boolean checkbox display format settings'
  191. mapping:
  192. display_label:
  193. type: boolean
  194. label: 'Display label'
  195. field.widget.settings.hidden:
  196. type: mapping
  197. label: '- Hidden - format settings'
  198. field.widget.settings.number:
  199. type: mapping
  200. label: 'Number default display format settings'
  201. mapping:
  202. placeholder:
  203. type: label
  204. label: 'Placeholder'
  205. field.widget.settings.checkbox:
  206. type: mapping
  207. label: 'Single on/off checkbox format settings'
  208. mapping:
  209. display_label:
  210. type: boolean
  211. label: 'Use field label instead of the "On value" as label'
  212. field.widget.settings.entity_reference_autocomplete_tags:
  213. type: mapping
  214. label: 'Entity reference autocomplete (Tags style) display format settings'
  215. mapping:
  216. match_operator:
  217. type: string
  218. label: 'Autocomplete matching'
  219. size:
  220. type: integer
  221. label: 'Size of textfield'
  222. placeholder:
  223. type: label
  224. label: 'Placeholder'
  225. field.widget.settings.entity_reference_autocomplete:
  226. type: mapping
  227. label: 'Entity reference autocomplete display format settings'
  228. mapping:
  229. match_operator:
  230. type: string
  231. label: 'Autocomplete matching'
  232. size:
  233. type: integer
  234. label: 'Size of textfield'
  235. placeholder:
  236. type: label
  237. label: 'Placeholder'
  238. field.formatter.settings.boolean:
  239. type: mapping
  240. mapping:
  241. format:
  242. type: string
  243. label: 'Output format'
  244. format_custom_false:
  245. type: label
  246. label: 'Custom output for FALSE'
  247. format_custom_true:
  248. type: label
  249. label: 'Custom output for TRUE'
  250. field.formatter.settings.string:
  251. type: mapping
  252. mapping:
  253. link_to_entity:
  254. type: boolean
  255. label: 'Link to the entity'
  256. field.formatter.settings.language:
  257. type: field.formatter.settings.string
  258. mapping:
  259. native_language:
  260. type: boolean
  261. label: 'Display in native language'
  262. field.formatter.settings.number_decimal:
  263. type: mapping
  264. label: 'Number decimal display format settings'
  265. mapping:
  266. thousand_separator:
  267. type: string
  268. label: 'Thousand marker'
  269. decimal_separator:
  270. type: string
  271. label: 'Decimal marker'
  272. scale:
  273. type: integer
  274. label: 'Scale'
  275. prefix_suffix:
  276. type: boolean
  277. label: 'Display prefix and suffix.'
  278. field.formatter.settings.number_integer:
  279. type: mapping
  280. label: 'Number integer display format settings'
  281. mapping:
  282. thousand_separator:
  283. type: string
  284. label: 'Thousand marker'
  285. prefix_suffix:
  286. type: boolean
  287. label: 'Display prefix and suffix.'
  288. field.formatter.settings.number_unformatted:
  289. type: mapping
  290. label: 'Number unformatted display format settings'
  291. field.formatter.settings.uri_link:
  292. type: mapping
  293. label: 'URI as link display format settings'
  294. field.formatter.settings.timestamp:
  295. type: mapping
  296. label: 'Timestamp display format settings'
  297. mapping:
  298. date_format:
  299. type: string
  300. label: 'Date format'
  301. custom_date_format:
  302. type: string
  303. label: 'Custom date format'
  304. timezone:
  305. type: string
  306. label: 'Time zone'
  307. field.formatter.settings.timestamp_ago:
  308. type: mapping
  309. label: 'Timestamp ago display format settings'
  310. mapping:
  311. future_format:
  312. type: string
  313. label: 'Future format'
  314. past_format:
  315. type: string
  316. label: 'Past format'
  317. granularity:
  318. type: integer
  319. label: 'Granularity'
  320. field.formatter.settings.entity_reference_entity_view:
  321. type: mapping
  322. label: 'Entity reference rendered entity display format settings'
  323. mapping:
  324. view_mode:
  325. type: string
  326. label: 'View mode'
  327. link:
  328. type: boolean
  329. label: 'Show links'
  330. field.formatter.settings.entity_reference_entity_id:
  331. type: mapping
  332. label: 'Entity reference entity ID display format settings'
  333. field.formatter.settings.entity_reference_label:
  334. type: mapping
  335. label: 'Entity reference label display format settings'
  336. mapping:
  337. link:
  338. type: boolean
  339. label: 'Link label to the referenced entity'
  340. block.settings.field_block:*:*:*:
  341. type: block_settings
  342. mapping:
  343. formatter:
  344. type: field_formatter
  345. # Schema for entity actions.
  346. action.configuration.entity:*:*:
  347. type: action_configuration_default
  348. label: 'Entity action'