Further modules included.
[yaffs-website] / web / modules / contrib / linkchecker / linkchecker.routing.yml
diff --git a/web/modules/contrib/linkchecker/linkchecker.routing.yml b/web/modules/contrib/linkchecker/linkchecker.routing.yml
new file mode 100644 (file)
index 0000000..a2a43e8
--- /dev/null
@@ -0,0 +1,37 @@
+linkchecker.admin_settings_form:
+  path: '/admin/config/content/linkchecker'
+  defaults:
+    _form: '\Drupal\linkchecker\Form\LinkCheckerAdminSettingsForm'
+    _title: 'Link checker'
+  requirements:
+    _permission: 'administer linkchecker'
+
+linkchecker.admin_report_page:
+  path: '/admin/reports/linkchecker'
+  defaults:
+    _controller: '\Drupal\linkchecker\Controller\LinkCheckerAdminReportPage::content'
+    _title: 'Broken links'
+  requirements:
+    _permission: 'access broken links report'
+
+linkchecker.user_report_page:
+  path: '/user/{user}/linkchecker'
+  defaults:
+    _title: 'Broken links'
+    _controller: '\Drupal\linkchecker\Controller\LinkCheckerUserReportPage::content'
+  options:
+    _admin_route: TRUE
+  requirements:
+    _custom_access: '\Drupal\linkchecker\Controller\LinkCheckerUserReportPage::access'
+    user: \d+
+
+linkchecker.edit_link_settings_form:
+  path: '/linkchecker/{linkchecker_link}/edit'
+  defaults:
+    _title: 'Edit link settings'
+    _form: '\Drupal\linkchecker\Form\LinkCheckerEditLinkSettingsForm'
+  options:
+    _admin_route: TRUE
+  requirements:
+    _custom_access: '\Drupal\linkchecker\Form\LinkCheckerEditLinkSettingsForm::access'
+    linkchecker_link: \d+