field.schema.yml

Same filename in other branches
  1. 9 core/modules/field/config/schema/field.schema.yml
  2. 8.9.x core/modules/field/config/schema/field.schema.yml
  3. 10 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. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. purge_batch_size:
  9. type: integer
  10. label: 'Maximum number of field data records to purge'
  11. constraints:
  12. NotNull: []
  13. Range:
  14. min: 1
  15. field.storage.*.*:
  16. type: config_entity
  17. label: 'Field'
  18. mapping:
  19. id:
  20. type: string
  21. label: 'ID'
  22. field_name:
  23. type: string
  24. label: 'Field name'
  25. entity_type:
  26. type: string
  27. label: 'Entity type'
  28. type:
  29. type: string
  30. label: 'Type'
  31. constraints:
  32. PluginExists:
  33. manager: plugin.manager.field.field_type
  34. interface: '\Drupal\Core\Field\FieldItemInterface'
  35. settings:
  36. type: field.storage_settings.[%parent.type]
  37. module:
  38. type: string
  39. label: 'Module'
  40. locked:
  41. type: boolean
  42. label: 'Locked'
  43. cardinality:
  44. type: integer
  45. label: 'Maximum number of values users can enter'
  46. translatable:
  47. type: boolean
  48. label: 'Translatable'
  49. indexes:
  50. type: sequence
  51. label: 'Indexes'
  52. sequence:
  53. type: sequence
  54. label: 'Indexes'
  55. sequence:
  56. type: ignore
  57. label: 'Index'
  58. persist_with_no_fields:
  59. type: boolean
  60. label: 'Persist field storage with no fields'
  61. custom_storage:
  62. type: boolean
  63. label: 'Enable custom storage'
  64. field.field.*.*.*:
  65. type: field_config_base
  66. label: 'Field'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.