node_clone.routing.yml in Node clone 8
File
node_clone.routing.yml
View source
- node_clone.settings:
- path: '/admin/config/content/clone'
- defaults:
- _title: 'Node clone module'
- _form: \Drupal\node_clone\Form\NodeCloneSettings
- requirements:
- _permission: 'administer site configuration'
- node_clone.prepopulate_node:
- path: '/node/{node}/clone/prepopulate'
- defaults:
- _title: 'Clone content'
- _controller: 'node_clone.form_controller:getContentResult'
- requirements:
- _custom_access: 'node_clone.form_controller:access'
- #_node_add_access: 'node:{node_type}'
- node: '\d+'
- options:
- _node_operation_route: TRUE
- parameters:
- node:
- type: 'entity:node'