You are here

workflow.schema.yml in Workflow 8

config/schema/workflow.schema.yml

File

config/schema/workflow.schema.yml
View source
  1. # Schema for the configuration files of the Workflow module.
  2. workflow.settings:
  3. type: config_object
  4. label: 'Workflow settings'
  5. mapping:
  6. workflow_states_per_page:
  7. type: integer
  8. label: 'Number of workflow states per page'
  9. workflow.workflow.*:
  10. type: config_entity
  11. label: 'Workflow settings'
  12. mapping:
  13. id:
  14. type: string
  15. label: 'ID'
  16. status:
  17. type: boolean
  18. label: 'Status'
  19. label:
  20. type: label
  21. label: 'Label'
  22. module:
  23. type: string
  24. label: 'Module'
  25. options:
  26. type: mapping
  27. label: 'Options'
  28. mapping:
  29. name_as_title:
  30. type: integer
  31. label: 'Use the workflow name as the title of the workflow transition form'
  32. fieldset:
  33. type: integer
  34. label: 'Show the form in a fieldset'
  35. options:
  36. type: string
  37. label: 'How to show the available states'
  38. schedule_enable:
  39. type: boolean
  40. label: 'Enable scheduling in workflow transition form'
  41. schedule_timezone:
  42. type: integer
  43. label: 'Show a timezone when scheduling a transition'
  44. always_update_entity:
  45. type: integer
  46. label: 'Always update the entity last updated timestamp'
  47. comment_log_node:
  48. type: integer
  49. label: 'Show comment on the Content edit form'
  50. watchdog_log:
  51. type: integer
  52. label: 'Log watchdog messages upon state change'
  53. field.storage_settings.workflow:
  54. type: mapping
  55. label: 'Workflow settings'
  56. mapping:
  57. workflow_type:
  58. type: string
  59. label: 'Workflow'
  60. allowed_values:
  61. type: sequence
  62. label: 'Allowed values list'
  63. sequence:
  64. type: mapping
  65. label: 'Allowed value with label'
  66. mapping:
  67. value:
  68. type: string
  69. label: 'Value'
  70. label:
  71. type: label
  72. label: 'Label'
  73. allowed_values_function:
  74. type: string
  75. label: 'Allowed values function'
  76. field.field_settings.workflow:
  77. type: mapping
  78. label: 'Workflow settings'