field.schema.yml

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

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