You are here

workflows.schema.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/workflows/config/schema/workflows.schema.yml
core/modules/workflows/config/schema/workflows.schema.yml

File

core/modules/workflows/config/schema/workflows.schema.yml
View source
  1. workflows.workflow.*:
  2. type: config_entity
  3. label: 'Workflow'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. type:
  12. type: string
  13. label: 'Workflow type'
  14. type_settings:
  15. type: workflow.type_settings.[%parent.type]
  16. workflows.state:
  17. type: mapping
  18. mapping:
  19. label:
  20. type: label
  21. label: 'Label'
  22. translation context: 'Workflow state label'
  23. weight:
  24. type: integer
  25. label: 'Weight'
  26. workflows.transition:
  27. type: mapping
  28. mapping:
  29. label:
  30. type: label
  31. label: 'Transition label'
  32. translation context: 'Workflow transition label'
  33. from:
  34. type: sequence
  35. label: 'From state IDs'
  36. sequence:
  37. type: string
  38. label: 'From state ID'
  39. to:
  40. type: string
  41. label: 'To state ID'
  42. weight:
  43. type: integer
  44. label: 'Weight'