datetime.schema.yml

Same filename in other branches
  1. 9 core/modules/datetime/config/schema/datetime.schema.yml
  2. 8.9.x core/modules/datetime/config/schema/datetime.schema.yml
  3. 11.x core/modules/datetime/config/schema/datetime.schema.yml
core/modules/datetime/config/schema/datetime.schema.yml

File

core/modules/datetime/config/schema/datetime.schema.yml

View source
  1. # Schema for the configuration files of the Datetime module.
  2. # This field type has no field instance settings, so no specific config schema type.
  3. # @see `type: field.field_settings.*`
  4. field.storage_settings.datetime:
  5. type: mapping
  6. label: 'Datetime settings'
  7. mapping:
  8. datetime_type:
  9. type: string
  10. label: 'Date type'
  11. field.value.datetime:
  12. type: mapping
  13. label: 'Default value'
  14. mapping:
  15. default_date_type:
  16. type: string
  17. label: 'Default date type'
  18. default_date:
  19. type: string
  20. label: 'Default date value'
  21. field.formatter.settings.datetime_base:
  22. type: mapping
  23. mapping:
  24. timezone_override:
  25. type: string
  26. label: 'Time zone override'
  27. field.formatter.settings.datetime_default:
  28. type: field.formatter.settings.datetime_base
  29. label: 'Datetime default display format settings'
  30. mapping:
  31. format_type:
  32. type: string
  33. label: 'Date format'
  34. field.formatter.settings.datetime_plain:
  35. type: field.formatter.settings.datetime_base
  36. label: 'Datetime plain display format settings'
  37. field.formatter.settings.datetime_custom:
  38. type: field.formatter.settings.datetime_base
  39. label: 'Datetime custom display format settings'
  40. mapping:
  41. date_format:
  42. type: date_format
  43. label: 'Date/time format'
  44. field.formatter.settings.datetime_time_ago:
  45. type: mapping
  46. label: 'Datetime time ago display format settings'
  47. mapping:
  48. future_format:
  49. type: required_label
  50. label: 'Future format'
  51. past_format:
  52. type: required_label
  53. label: 'Past format'
  54. granularity:
  55. type: integer
  56. label: 'Granularity'
  57. field.widget.settings.datetime_datelist:
  58. type: mapping
  59. label: 'Datetime select list display format settings'
  60. mapping:
  61. increment:
  62. type: integer
  63. label: 'Time increments'
  64. date_order:
  65. type: string
  66. label: 'Date part order'
  67. time_type:
  68. type: string
  69. label: 'Time type'
  70. field.widget.settings.datetime_default:
  71. type: mapping
  72. label: 'Datetime default display format settings'

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