You are here

plugin.routing.yml in Plugin 8.2

Same filename and directory in other branches
  1. 8 plugin.routing.yml

File

plugin.routing.yml
View source
  1. plugin.plugin_type.list:
  2. path: '/admin/structure/plugin'
  3. defaults:
  4. _controller: '\Drupal\plugin\Controller\ListPluginTypes::execute'
  5. _title: Plugins
  6. requirements:
  7. _permission: 'plugin.overview.view'
  8. plugin.plugin.list:
  9. path: '/admin/structure/plugin/{plugin_type}'
  10. defaults:
  11. _controller: '\Drupal\plugin\Controller\ListPlugins::execute'
  12. _title_callback: '\Drupal\plugin\Controller\ListPlugins::title'
  13. requirements:
  14. _permission: 'plugin.overview.view'
  15. options:
  16. parameters:
  17. plugin_type:
  18. plugin.plugin_type: {}