You are here

maestro_template_builder.routing.yml in Maestro 3.x

modules/maestro_template_builder/maestro_template_builder.routing.yml

File

modules/maestro_template_builder/maestro_template_builder.routing.yml
View source
  1. maestro_template_builder.maestro_template_builder_admin_settings:
  2. path: '/admin/config/workflow/maestro_template_builder'
  3. defaults:
  4. _form: '\Drupal\maestro_template_builder\Form\MaestroTemplateBuilderSettingsForm'
  5. _title: 'Maestro Template Editor Module Settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. options:
  9. _admin_route: TRUE
  10. maestro_template_builder:
  11. path: '/template-builder/{templateMachineName}'
  12. defaults:
  13. _form: '\Drupal\maestro_template_builder\Form\MaestroTemplateBuilderForm'
  14. requirements:
  15. _permission: administer maestro templates
  16. options:
  17. _admin_route: TRUE
  18. no_cache: TRUE
  19. maestro_template_builder.add_new:
  20. path: '/template-builder/add_new/{templateMachineName}'
  21. defaults:
  22. _form: '\Drupal\maestro_template_builder\Form\MaestroTemplateBuilderAddNew'
  23. requirements:
  24. _permission: administer maestro templates
  25. options:
  26. _admin_route: TRUE
  27. no_cache: TRUE
  28. maestro_template_builder.edit_task:
  29. path: '/template-builder/edit_task/{templateMachineName}'
  30. defaults:
  31. _form: '\Drupal\maestro_template_builder\Form\MaestroTemplateBuilderEditTask'
  32. requirements:
  33. _permission: administer maestro templates
  34. options:
  35. _admin_route: TRUE
  36. no_cache: TRUE
  37. maestro_template_builder.canvas:
  38. path: '/template-builder/canvas/{templateMachineName}'
  39. defaults:
  40. _form: '\Drupal\maestro_template_builder\Form\MaestroTemplateBuilderCanvas'
  41. requirements:
  42. _permission: administer maestro templates
  43. options:
  44. _admin_route: TRUE
  45. no_cache: TRUE
  46. maestro_template_builder.maestro_run_validity_check:
  47. path: '/template-builder/validity-check/{templateMachineName}'
  48. defaults:
  49. _form: '\Drupal\maestro_template_builder\Form\MaestroValidityCheck'
  50. requirements:
  51. _permission: administer maestro templates
  52. options:
  53. _admin_route: TRUE
  54. no_cache: TRUE