You are here

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

Same filename and directory in other branches
  1. 7.3 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.string:
  237. type: mapping
  238. mapping:
  239. link_to_entity:
  240. type: boolean
  241. label: 'Link to the entity'
  242. field.formatter.settings.language:
  243. type: field.formatter.settings.string
  244. mapping:
  245. native_language:
  246. type: boolean
  247. label: 'Display in native language'
  248. field.formatter.settings.number_decimal:
  249. type: mapping
  250. label: 'Number decimal display format settings'
  251. mapping:
  252. thousand_separator:
  253. type: string
  254. label: 'Thousand marker'
  255. decimal_separator:
  256. type: string
  257. label: 'Decimal marker'
  258. scale:
  259. type: integer
  260. label: 'Scale'
  261. prefix_suffix:
  262. type: boolean
  263. label: 'Display prefix and suffix.'
  264. field.formatter.settings.number_integer:
  265. type: mapping
  266. label: 'Number integer display format settings'
  267. mapping:
  268. thousand_separator:
  269. type: string
  270. label: 'Thousand marker'
  271. prefix_suffix:
  272. type: boolean
  273. label: 'Display prefix and suffix.'
  274. field.formatter.settings.number_unformatted:
  275. type: mapping
  276. label: 'Number unformatted display format settings'
  277. field.formatter.settings.uri_link:
  278. type: mapping
  279. label: 'URI as link display format settings'
  280. field.formatter.settings.timestamp:
  281. type: mapping
  282. label: 'Timestamp display format settings'
  283. mapping:
  284. date_format:
  285. type: string
  286. label: 'Date format'
  287. custom_date_format:
  288. type: string
  289. label: 'Custom date format'
  290. timezone:
  291. type: string
  292. label: 'Time zone'
  293. field.formatter.settings.timestamp_ago:
  294. type: mapping
  295. label: 'Timestamp ago display format settings'
  296. mapping:
  297. future_format:
  298. type: string
  299. label: 'Future format'
  300. past_format:
  301. type: string
  302. label: 'Past format'
  303. granularity:
  304. type: integer
  305. label: 'Granularity'
  306. field.formatter.settings.entity_reference_entity_view:
  307. type: mapping
  308. label: 'Entity reference rendered entity display format settings'
  309. mapping:
  310. view_mode:
  311. type: string
  312. label: 'View mode'
  313. link:
  314. type: boolean
  315. label: 'Show links'
  316. field.formatter.settings.entity_reference_entity_id:
  317. type: mapping
  318. label: 'Entity reference entity ID display format settings'
  319. field.formatter.settings.entity_reference_label:
  320. type: mapping
  321. label: 'Entity reference label display format settings'
  322. mapping:
  323. link:
  324. type: boolean
  325. label: 'Link label to the referenced entity'