ctools_wizard_test.routing.yml

Same filename in other branches
  1. 8.x-3.x tests/modules/ctools_wizard_test/ctools_wizard_test.routing.yml
tests/modules/ctools_wizard_test/ctools_wizard_test.routing.yml
4 string references to YAML keys in ctools_wizard_test.routing.yml
EntityAddWizardTest::getRouteName in tests/modules/ctools_wizard_test/src/Wizard/EntityAddWizardTest.php
The name of the route to which forward or backwards steps redirect.
ExampleConfigEntityDeleteForm::getCancelUrl in tests/modules/ctools_wizard_test/src/Form/ExampleConfigEntityDeleteForm.php
Returns the route to go to if the user cancels the action.
ExampleConfigEntityOneForm::buildForm in tests/modules/ctools_wizard_test/src/Form/ExampleConfigEntityOneForm.php
Form constructor.
WizardTest::getRouteName in tests/modules/ctools_wizard_test/src/Wizard/WizardTest.php
The name of the route to which forward or backwards steps redirect.

File

tests/modules/ctools_wizard_test/ctools_wizard_test.routing.yml

View source
  1. ctools.wizard.test:
  2. path: '/ctools/wizard'
  3. defaults:
  4. _wizard: '\Drupal\ctools_wizard_test\Wizard\WizardTest'
  5. _title: 'Wizard Test'
  6. tempstore_id: 'ctools.wizard.test'
  7. machine_name: 'WizardTest'
  8. requirements:
  9. _access: 'TRUE'
  10. ctools.wizard.test.step:
  11. path: '/ctools/wizard/{step}'
  12. defaults:
  13. _wizard: '\Drupal\ctools_wizard_test\Wizard\WizardTest'
  14. _title: 'Wizard Test'
  15. tempstore_id: 'ctools.wizard.test'
  16. machine_name: 'WizardTest'
  17. requirements:
  18. _access: 'TRUE'
  19. # ExampleConfigEntity routing definition
  20. entity.ctools_wizard_test_config_entity.collection:
  21. path: '/admin/structure/ctools_wizard_test_config_entity'
  22. defaults:
  23. _entity_list: 'ctools_wizard_test_config_entity'
  24. _title: 'Example config entity'
  25. requirements:
  26. _permission: 'administer site configuration'
  27. options:
  28. _admin_route: TRUE
  29. entity.ctools_wizard_test_config_entity.add_form:
  30. path: '/admin/structure/ctools_wizard_test_config_entity/add'
  31. defaults:
  32. _entity_wizard: 'ctools_wizard_test_config_entity.add'
  33. _title: 'Add Example config entity'
  34. tempstore_id: 'ctools_wizard_test.config_entity'
  35. requirements:
  36. _permission: 'administer site configuration'
  37. options:
  38. _admin_route: TRUE
  39. entity.ctools_wizard_test_config_entity.add_step_form:
  40. path: '/admin/structure/ctools_wizard_test_config_entity/add/{machine_name}/{step}'
  41. defaults:
  42. _entity_wizard: 'ctools_wizard_test_config_entity.add'
  43. _title: 'Add Example config entity'
  44. tempstore_id: 'ctools_wizard_test.config_entity'
  45. requirements:
  46. _permission: 'administer site configuration'
  47. options:
  48. _admin_route: TRUE
  49. entity.ctools_wizard_test_config_entity.edit_form:
  50. path: '/admin/structure/ctools_wizard_test_config_entity/{machine_name}/{step}'
  51. defaults:
  52. _entity_wizard: 'ctools_wizard_test_config_entity.edit'
  53. _title: 'Edit Example config entity'
  54. tempstore_id: 'ctools_wizard_test.config_entity'
  55. requirements:
  56. _permission: 'administer site configuration'
  57. options:
  58. _admin_route: TRUE
  59. entity.ctools_wizard_test_config_entity.external_form:
  60. path: '/admin/structure/ctools_wizard_test_config_entity/{machine_name}/external'
  61. defaults:
  62. _title: 'Edit Example config entity'
  63. _form: '\Drupal\ctools_wizard_test\Form\ExampleConfigEntityExternalForm'
  64. requirements:
  65. _permission: 'administer site configuration'
  66. options:
  67. _admin_route: TRUE
  68. entity.ctools_wizard_test_config_entity.delete_form:
  69. path: '/admin/structure/ctools_wizard_test_config_entity/{ctools_wizard_test_config_entity}/delete'
  70. defaults:
  71. _entity_form: 'ctools_wizard_test_config_entity.delete'
  72. _title: 'Delete Example config entity'
  73. requirements:
  74. _permission: 'administer site configuration'
  75. options:
  76. _admin_route: TRUE