X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fadvanced_help.routing.yml;fp=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fadvanced_help.routing.yml;h=2fe8b9281680235ae0510f6fc9da08a83a63f5f7;hp=0000000000000000000000000000000000000000;hb=8acec36f19c470dfcda1ae2336826a782f41874c;hpb=e0411c4e83ba0d079034db83c3f7f55be24a0e35 diff --git a/web/modules/contrib/advanced_help/advanced_help.routing.yml b/web/modules/contrib/advanced_help/advanced_help.routing.yml new file mode 100644 index 000000000..2fe8b9281 --- /dev/null +++ b/web/modules/contrib/advanced_help/advanced_help.routing.yml @@ -0,0 +1,23 @@ +advanced_help.main: + path: '/admin/help/ah' + defaults: + _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::main' + _title: 'Module help index' + requirements: + _permission: 'view advanced help index' + +advanced_help.module_index: + path: '/admin/help/ah/{module}' + defaults: + _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::moduleIndex' + _title_callback: '\Drupal\advanced_help\Controller\AdvancedHelpController::moduleIndexTitle' + requirements: + _permission: 'view advanced help index' + +advanced_help.help: + path: '/help/ah/{module}/{topic}' + defaults: + _controller: '\Drupal\advanced_help\Controller\AdvancedHelpController::topicPage' + _title_callback: '\Drupal\advanced_help\Controller\AdvancedHelpController::topicPageTitle' + requirements: + _permission: 'view advanced help topic' \ No newline at end of file