datetime_range.schema.yml

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

File

core/modules/datetime_range/config/schema/datetime_range.schema.yml

View source
  1. # Schema for the configuration files of the Datetime Range module.
  2. # Daterange field type.
  3. field.storage_settings.daterange:
  4. type: field.storage_settings.datetime
  5. label: 'Date range settings'
  6. field.field_settings.daterange:
  7. type: field.field_settings.datetime
  8. label: 'Date range settings'
  9. field.value.daterange:
  10. type: mapping
  11. label: 'Default value'
  12. mapping:
  13. default_date_type:
  14. type: string
  15. label: 'Default start date type'
  16. default_date:
  17. type: string
  18. label: 'Default start date value'
  19. default_end_date_type:
  20. type: string
  21. label: 'Default end date type'
  22. default_end_date:
  23. type: string
  24. label: 'Default end date value'
  25. field.formatter.settings.daterange_default:
  26. type: field.formatter.settings.datetime_default
  27. label: 'Date range default display format settings'
  28. mapping:
  29. separator:
  30. type: label
  31. label: 'Separator'
  32. translation context: 'Date range separator'
  33. field.formatter.settings.daterange_plain:
  34. type: field.formatter.settings.datetime_plain
  35. label: 'Date range plain display format settings'
  36. mapping:
  37. separator:
  38. type: label
  39. label: 'Separator'
  40. translation context: 'Date range separator'
  41. field.formatter.settings.daterange_custom:
  42. type: field.formatter.settings.datetime_custom
  43. label: 'Date range custom display format settings'
  44. mapping:
  45. separator:
  46. type: label
  47. label: 'Separator'
  48. translation context: 'Date range separator'
  49. field.widget.settings.daterange_datelist:
  50. type: mapping
  51. label: 'Date range select list display format settings'
  52. mapping:
  53. increment:
  54. type: integer
  55. label: 'Time increments'
  56. date_order:
  57. type: string
  58. label: 'Date part order'
  59. time_type:
  60. type: string
  61. label: 'Time type'
  62. field.widget.settings.daterange_default:
  63. type: mapping
  64. label: 'Date range default display format settings'

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