You are here

nodeorder.routing.yml in Node Order 8

File

nodeorder.routing.yml
View source
  1. nodeorder.admin:
  2. path: '/admin/config/content/nodeorder'
  3. defaults:
  4. _form: '\Drupal\nodeorder\Form\NodeorderAdminForm'
  5. _title: 'Nodeorder'
  6. requirements:
  7. _permission: 'administer nodeorder'
  8. options:
  9. _admin_route: TRUE
  10. nodeorder.admin_order:
  11. parent: entity.taxonomy_term.canonical
  12. path: '/taxonomy/term/{taxonomy_term}/order'
  13. defaults:
  14. _controller: '\Drupal\nodeorder\Controller\NodeOrderListController::listing'
  15. _title: 'Order nodes'
  16. requirements:
  17. _permission: 'order nodes within categories'
  18. _custom_access: '\Drupal\nodeorder\Access\NodeOrderAccess::adminOrder'
  19. taxonomy_term: \d+
  20. options:
  21. _admin_route: TRUE