You are here

scheduler.schema.yml in Scheduler 2.x

Same filename and directory in other branches
  1. 8 config/schema/scheduler.schema.yml
config/schema/scheduler.schema.yml

File

config/schema/scheduler.schema.yml
View source
  1. # Schema for Scheduler module configuration.
  2. scheduler.settings:
  3. type: config_object
  4. label: 'Scheduler settings'
  5. mapping:
  6. allow_date_only:
  7. type: boolean
  8. label: 'Allow date-only input with time taken from default time setting'
  9. date_format:
  10. type: string
  11. label: 'Full date and time format'
  12. date_letters:
  13. type: string
  14. label: 'The set of PHP date letters allowed in the Scheduler date format'
  15. date_only_format:
  16. type: string
  17. label: 'Date part of the full format'
  18. default_expand_fieldset:
  19. type: string
  20. label: 'Default value for entity type setting expand_fieldset'
  21. default_fields_display_mode:
  22. type: string
  23. label: 'Default value for entity type setting fields_display_mode'
  24. default_publish_enable:
  25. type: boolean
  26. label: 'Default value for entity type setting publish_enable'
  27. default_publish_past_date:
  28. type: string
  29. label: 'Default value for entity type setting publish_past_date'
  30. default_publish_past_date_created:
  31. type: boolean
  32. label: 'Default value for entity type setting publish_past_date_created'
  33. default_publish_required:
  34. type: boolean
  35. label: 'Default value for entity type setting publish_required'
  36. default_publish_revision:
  37. type: boolean
  38. label: 'Default value for entity type setting publish_revision'
  39. default_publish_touch:
  40. type: boolean
  41. label: 'Default value for entity type setting publish_touch'
  42. default_show_message_after_update:
  43. type: boolean
  44. label: 'Default value for entity type setting show_message_after_update'
  45. default_time:
  46. type: string
  47. label: 'Default Scheduling Time. This is used with the option to allow date only'
  48. default_unpublish_enable:
  49. type: boolean
  50. label: 'Default value for entity type setting unpublish_enable'
  51. default_unpublish_required:
  52. type: boolean
  53. label: 'Default value for entity type setting unpublish_required'
  54. default_unpublish_revision:
  55. type: boolean
  56. label: 'Default value for entity type setting unpublish_revision'
  57. hide_seconds:
  58. type: boolean
  59. label: 'Hide the seconds on the input control when entering a time'
  60. lightweight_cron_access_key:
  61. type: string
  62. label: 'Lightweight cron access key'
  63. log:
  64. type: boolean
  65. label: 'Log every Scheduler lightweight cron activation and completion message'
  66. time_letters:
  67. type: string
  68. label: 'The set of PHP time letters allowed in the Scheduler time format'
  69. time_only_format:
  70. type: string
  71. label: 'Time part of the full format'
  72. node.type.*.third_party.scheduler: &third_party_settings_alias
  73. type: mapping
  74. label: 'Scheduler entity type settings'
  75. mapping:
  76. expand_fieldset:
  77. type: string
  78. label: 'Conditions under which to expand the date input fieldset or vertical tab ("when_required" or "always")'
  79. fields_display_mode:
  80. type: string
  81. label: 'The way the scheduling fields are displayed in the edit form ("vertical_tab" or "fieldset")'
  82. publish_enable:
  83. type: boolean
  84. label: 'Enable scheduled publishing'
  85. publish_past_date:
  86. type: string
  87. label: 'Action to be taken for publication dates in the past ("error", "publish" or "schedule")'
  88. publish_past_date_created:
  89. type: boolean
  90. label: 'Change entity creation date for past dates to avoid "changed" being earlier than "created"'
  91. publish_required:
  92. type: boolean
  93. label: 'Require scheduled publishing'
  94. publish_revision:
  95. type: boolean
  96. label: 'Create a new revision on publishing'
  97. publish_touch:
  98. type: boolean
  99. label: 'Change entity creation time to match the scheduled publish time'
  100. show_message_after_update:
  101. type: boolean
  102. label: 'Show a message after updating an entity which is scheduled'
  103. unpublish_enable:
  104. type: boolean
  105. label: 'Enable scheduled unpublishing'
  106. unpublish_required:
  107. type: boolean
  108. label: 'Require scheduled unpublishing'
  109. unpublish_revision:
  110. type: boolean
  111. label: 'Create a new revision on unpublishing'
  112. # Use the saved alias to repeat the same schema for media.type and
  113. # commerce_product.commerce_product_type. Adding a separate comment betweeen the
  114. # two definitions below causes a "cannot parse" error.
  115. media.type.*.third_party.scheduler:
  116. *third_party_settings_alias
  117. commerce_product.commerce_product_type.*.third_party.scheduler:
  118. *third_party_settings_alias