You are here

field.schema.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/field/config/schema/field.schema.yml
core/modules/field/config/schema/field.schema.yml

File

core/modules/field/config/schema/field.schema.yml
View source
  1. # Schema for configuration files of the Field module.
  2. field.settings:
  3. type: config_object
  4. label: 'Field settings'
  5. mapping:
  6. purge_batch_size:
  7. type: integer
  8. label: 'Maximum number of field data records to purge'
  9. field.storage.*.*:
  10. type: config_entity
  11. label: 'Field'
  12. mapping:
  13. id:
  14. type: string
  15. label: 'ID'
  16. field_name:
  17. type: string
  18. label: 'Field name'
  19. entity_type:
  20. type: string
  21. label: 'Entity type'
  22. type:
  23. type: string
  24. label: 'Type'
  25. settings:
  26. type: field.storage_settings.[%parent.type]
  27. module:
  28. type: string
  29. label: 'Module'
  30. locked:
  31. type: boolean
  32. label: 'Locked'
  33. cardinality:
  34. type: integer
  35. label: 'Maximum number of values users can enter'
  36. translatable:
  37. type: boolean
  38. label: 'Translatable'
  39. indexes:
  40. type: sequence
  41. label: 'Indexes'
  42. sequence:
  43. type: sequence
  44. label: 'Indexes'
  45. sequence:
  46. type: ignore
  47. label: 'Index'
  48. persist_with_no_fields:
  49. type: boolean
  50. label: 'Persist field storage with no fields'
  51. custom_storage:
  52. type: boolean
  53. label: 'Enable custom storage'
  54. field.field.*.*.*:
  55. type: field_config_base
  56. label: 'Field'