You are here

core.entity.schema.yml in Translation template extractor 7.3

Same filename and directory in other branches
  1. 8 tests/drupal8/core/config/schema/core.entity.schema.yml
tests/drupal8/core/config/schema/core.entity.schema.yml

File

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