You are here

advanced_help.routing.yml in Advanced Help 8

File

advanced_help.routing.yml
View source
  1. advanced_help.main:
  2. path: '/admin/help/ah'
  3. defaults:
  4. _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::main'
  5. _title: 'Module help index'
  6. requirements:
  7. _permission: 'view advanced help index'
  8. advanced_help.module_index:
  9. path: '/admin/help/ah/{module}'
  10. defaults:
  11. _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::moduleIndex'
  12. _title_callback: '\Drupal\advanced_help\Controller\AdvancedHelpController::moduleIndexTitle'
  13. requirements:
  14. _permission: 'view advanced help index'
  15. advanced_help.help:
  16. path: '/help/ah/{module}/{topic}'
  17. defaults:
  18. _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::topicPage'
  19. _title_callback: '\Drupal\advanced_help\Controller\AdvancedHelpController::topicPageTitle'
  20. requirements:
  21. _permission: 'view advanced help topic'