You are here

plugin_test_helper.routing.yml in Plugin 8.2

tests/modules/plugin_test_helper/plugin_test_helper.routing.yml

File

tests/modules/plugin_test_helper/plugin_test_helper.routing.yml
View source
  1. plugin_test_helper.plugin_selector.advanced_plugin_selector_base:
  2. path: '/plugin_test_helper-plugin_selector-advanced_plugin_selector_base/{allowed_selectable_plugin_ids}/{plugin_id}/{tree}/{always_show_selector}'
  3. defaults:
  4. _form: '\Drupal\plugin_test_helper\AdvancedPluginSelectorBasePluginSelectorForm'
  5. tree: 0
  6. requirements:
  7. _access: 'TRUE'
  8. plugin_test_helper.paramconverter.plugin_definition:
  9. path: '/plugin_test_helper/paramconverter/plugin_definition/{plugin_definition}'
  10. defaults:
  11. _controller: '\Drupal\plugin_test_helper\Controller\PluginDefinitionParamConverter::execute'
  12. requirements:
  13. _access: 'TRUE'
  14. options:
  15. parameters:
  16. plugin_definition:
  17. plugin.plugin_definition:
  18. plugin_type_id: plugin_test_helper_mock
  19. plugin_test_helper.paramconverter.plugin_instance:
  20. path: '/plugin_test_helper/paramconverter/plugin_instance/{plugin}'
  21. defaults:
  22. _controller: '\Drupal\plugin_test_helper\Controller\PluginInstanceParamConverter::execute'
  23. requirements:
  24. _access: 'TRUE'
  25. options:
  26. parameters:
  27. plugin:
  28. plugin.plugin_instance:
  29. plugin_type_id: plugin_test_helper_mock
  30. plugin_test_helper.paramconverter.plugin_type:
  31. path: '/plugin_test_helper/paramconverter/plugin_type/{plugin_type}'
  32. defaults:
  33. _controller: '\Drupal\plugin_test_helper\Controller\PluginTypeParamConverter::execute'
  34. requirements:
  35. _access: 'TRUE'
  36. options:
  37. parameters:
  38. plugin_type:
  39. plugin.plugin_type: {}