You are here

quick_node_clone.routing.yml in Quick Node Clone 8

File

quick_node_clone.routing.yml
View source
  1. quick_node_clone.node.quick_clone:
  2. path: '/clone/{node}/quick_clone'
  3. defaults:
  4. _controller: '\Drupal\quick_node_clone\Controller\QuickNodeCloneNodeController::cloneNode'
  5. _title_callback: '\Drupal\quick_node_clone\Controller\QuickNodeCloneNodeController::clonePageTitle'
  6. requirements:
  7. _custom_access: '\Drupal\quick_node_clone\Controller\QuickNodeCloneNodeAccess::cloneNode'
  8. options:
  9. _admin_route: TRUE
  10. parameters:
  11. node:
  12. type: entity:node
  13. quick_node_clone.settingsform:
  14. path: '/admin/config/quick-node-clone'
  15. defaults:
  16. _form: '\Drupal\quick_node_clone\Form\QuickNodeCloneNodeSettingsForm'
  17. _title: 'Quick Node Clone Setting'
  18. requirements:
  19. _permission: 'Administer Quick Node Clone Settings'
  20. quick_node_clone.paragraph_settings_form:
  21. path: '/admin/config/quick-node-clone-paragraph'
  22. defaults:
  23. _form: '\Drupal\quick_node_clone\Form\QuickNodeCloneParagraphSettingsForm'
  24. _title: 'Quick Node Paragraph Clone Setting'
  25. requirements:
  26. _permission: 'Administer Quick Node Clone Settings'