workflows.schema.yml

Same filename in other branches
  1. 9 core/modules/workflows/config/schema/workflows.schema.yml
  2. 8.9.x core/modules/workflows/config/schema/workflows.schema.yml
  3. 11.x 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: machine_name
  7. label: 'ID'
  8. label:
  9. type: required_label
  10. label: 'Label'
  11. type:
  12. type: string
  13. label: 'Workflow type'
  14. constraints:
  15. PluginExists:
  16. manager: plugin.manager.workflows.type
  17. interface: 'Drupal\workflows\WorkflowTypeInterface'
  18. type_settings:
  19. type: workflow.type_settings.[%parent.type]
  20. workflows.state:
  21. type: mapping
  22. mapping:
  23. label:
  24. type: label
  25. label: 'Label'
  26. translation context: 'Workflow state label'
  27. weight:
  28. type: weight
  29. label: 'Weight'
  30. workflows.transition:
  31. type: mapping
  32. mapping:
  33. label:
  34. type: label
  35. label: 'Transition label'
  36. translation context: 'Workflow transition label'
  37. from:
  38. type: sequence
  39. label: 'From state IDs'
  40. sequence:
  41. type: string
  42. label: 'From state ID'
  43. to:
  44. type: string
  45. label: 'To state ID'
  46. weight:
  47. type: weight
  48. label: 'Weight'

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