field.schema.yml

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

File

drupal/core/modules/field/config/schema/field.schema.yml
View source
  1. # Schema for configuration files of the Field module.
  2. field.settings:
  3. type: mapping
  4. label: 'Field settings'
  5. mapping:
  6. default_storage:
  7. type: string
  8. label: 'The default storage backend for a field'
  9. language_fallback:
  10. type: boolean
  11. label: 'Whether the field display falls back to global language fallback configuration'
  12. purge_batch_size:
  13. type: integer
  14. label: 'Maximum number of field data records to purge'
  15. field.field.*:
  16. type: mapping
  17. label: 'Field'
  18. mapping:
  19. id:
  20. type: string
  21. label: 'Machine name'
  22. uuid:
  23. type: string
  24. label: 'UUID'
  25. status:
  26. type: boolean
  27. label: 'Status'
  28. langcode:
  29. type: string
  30. label: 'Default language'
  31. type:
  32. type: string
  33. label: 'Type'
  34. settings:
  35. type: field.[%parent.type].settings
  36. module:
  37. type: string
  38. label: 'Module'
  39. active:
  40. type: boolean
  41. label: 'Active'
  42. entity_types:
  43. type: sequence
  44. label: 'Allowed entity types'
  45. sequence:
  46. - type: string
  47. label: 'Entity type'
  48. storage:
  49. type: mapping
  50. label: 'Storage'
  51. mapping:
  52. type:
  53. type: string
  54. label: 'Type'
  55. settings:
  56. type: field_storage.[%parent.type].settings
  57. label: 'Settings'
  58. module:
  59. type: string
  60. label: 'Module'
  61. active:
  62. type: boolean
  63. label: 'Active'
  64. locked:
  65. type: boolean
  66. label: 'Locked'
  67. cardinality:
  68. type: integer
  69. label: 'Maximum number of values users can enter'
  70. translatable:
  71. type: boolean
  72. label: 'Translatable'
  73. indexes:
  74. type: sequence
  75. label: 'Indexes'
  76. sequence:
  77. - type: sequence
  78. label: 'Indexes'
  79. sequence:
  80. - type: string
  81. label: 'Column'
  82. field.instance.*.*.*:
  83. type: mapping
  84. label: 'Field instance'
  85. mapping:
  86. id:
  87. type: string
  88. label: 'ID'
  89. uuid:
  90. type: string
  91. label: 'UUID'
  92. status:
  93. type: boolean
  94. label: 'Status'
  95. langcode:
  96. type: string
  97. label: 'Default language'
  98. field_uuid:
  99. type: string
  100. label: 'Field UUID'
  101. entity_type:
  102. type: string
  103. label: 'Allowed entity types'
  104. bundle:
  105. type: string
  106. label: 'Bundle'
  107. label:
  108. type: label
  109. label: 'Label'
  110. description:
  111. type: text
  112. label: 'Help text'
  113. required:
  114. type: boolean
  115. label: 'Required field'
  116. default_value:
  117. type: field.[%parent.field_type].value
  118. default_value_function:
  119. type: string
  120. label: 'Default value funtion'
  121. settings:
  122. type: field.[%parent.field_type].instance_settings
  123. field_type:
  124. type: string
  125. label: 'Field type'