datetime.schema.yml

Same filename in other branches
  1. 9 core/modules/datetime/config/schema/datetime.schema.yml
  2. 10 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. field.storage_settings.datetime:
  3. type: mapping
  4. label: 'Datetime settings'
  5. mapping:
  6. datetime_type:
  7. type: string
  8. label: 'Date type'
  9. field.field_settings.datetime:
  10. type: mapping
  11. label: 'Datetime settings'
  12. field.value.datetime:
  13. type: mapping
  14. label: 'Default value'
  15. mapping:
  16. default_date_type:
  17. type: string
  18. label: 'Default date type'
  19. default_date:
  20. type: string
  21. label: 'Default date value'
  22. field.formatter.settings.datetime_base:
  23. type: mapping
  24. mapping:
  25. timezone_override:
  26. type: string
  27. label: 'Time zone override'
  28. field.formatter.settings.datetime_default:
  29. type: field.formatter.settings.datetime_base
  30. label: 'Datetime default display format settings'
  31. mapping:
  32. format_type:
  33. type: string
  34. label: 'Date format'
  35. field.formatter.settings.datetime_plain:
  36. type: field.formatter.settings.datetime_base
  37. label: 'Datetime plain display format settings'
  38. field.formatter.settings.datetime_custom:
  39. type: field.formatter.settings.datetime_base
  40. label: 'Datetime custom display format settings'
  41. mapping:
  42. date_format:
  43. type: date_format
  44. label: 'Date/time format'
  45. field.formatter.settings.datetime_time_ago:
  46. type: mapping
  47. label: 'Datetime time ago display format settings'
  48. mapping:
  49. future_format:
  50. type: string
  51. label: 'Future format'
  52. past_format:
  53. type: string
  54. label: 'Past format'
  55. granularity:
  56. type: integer
  57. label: 'Granularity'
  58. field.widget.settings.datetime_datelist:
  59. type: mapping
  60. label: 'Datetime select list display format settings'
  61. mapping:
  62. increment:
  63. type: integer
  64. label: 'Time increments'
  65. date_order:
  66. type: string
  67. label: 'Date part order'
  68. time_type:
  69. type: string
  70. label: 'Time type'
  71. field.widget.settings.datetime_default:
  72. type: mapping
  73. label: 'Datetime default display format settings'

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