You are here

simple_node_importer.routing.yml in Simple Node Importer 8

File

simple_node_importer.routing.yml
View source
  1. simple_node_importer.config_form:
  2. path: /admin/config/development/snodeimport
  3. defaults:
  4. _title: 'Simple Node Import Settings'
  5. _form: \Drupal\simple_node_importer\Form\SimpleNodeImporterConfigForm
  6. requirements:
  7. _permission: 'admin access simple_node_importer'
  8. simple_node_importer.node_mapping_form:
  9. path: '/nodeimport/{option}/{node}/mapping'
  10. defaults:
  11. _form: \Drupal\simple_node_importer\Form\SimpleNodeImporterMappingForm
  12. options:
  13. parameters:
  14. node:
  15. type: entity:node
  16. requirements:
  17. _permission: 'admin access simple_node_importer'
  18. simple_node_importer.user_mapping_form:
  19. path: '/nodeimport/{option}/{node}/usermapping'
  20. defaults:
  21. _form: \Drupal\simple_node_importer\Form\SimpleUserImporterMappingForm
  22. options:
  23. parameters:
  24. node:
  25. type: entity:node
  26. requirements:
  27. _permission: 'admin access simple_node_importer'
  28. simple_node_importer.user_confirmation_form:
  29. path: '/nodeimport/{option}/{node}/userconfirm'
  30. defaults:
  31. _form: \Drupal\simple_node_importer\Form\SimpleUserConfirmImportForm
  32. options:
  33. parameters:
  34. node:
  35. type: entity:node
  36. requirements:
  37. _permission: 'admin access simple_node_importer'
  38. simple_node_importer.import_user:
  39. path: '/simplenode/{option}/{node}/delete'
  40. defaults:
  41. _title: 'User Import'
  42. _controller: '\Drupal\simple_node_importer\Controller\UserImportController::userImport'
  43. requirements:
  44. _permission: 'admin access simple_node_importer'
  45. simple_node_importer.confirm_importing:
  46. path: '/nodeimport/{type}/{node}/importing'
  47. defaults:
  48. _title: 'Confirm Content Import for {type}'
  49. _form: \Drupal\simple_node_importer\Form\SimpleNodeConfirmImportForm
  50. options:
  51. parameters:
  52. node:
  53. type: entity:node
  54. requirements:
  55. _permission: 'admin access simple_node_importer'
  56. simple_node_importer.delete_node:
  57. path: '/simplenode/{option}/{node}/delete'
  58. defaults:
  59. _title: 'Confirm Delete'
  60. _controller: '\Drupal\simple_node_importer\Controller\NodeImportController::snpDeleteNode'
  61. requirements:
  62. _permission: 'admin access simple_node_importer'
  63. simple_node_importer.node_resolution_center:
  64. path: /nodeimporter/resolution-center
  65. defaults:
  66. _title: 'Resolution Center'
  67. _controller: '\Drupal\simple_node_importer\Controller\NodeImportController::viewResolutionCenter'
  68. requirements:
  69. _permission: 'admin access simple_node_importer'
  70. simple_node_importer.resolution_center_operations:
  71. path: '/nodeimporter/resolution-center/{node}/{op}'
  72. defaults:
  73. _title_callback: '\Drupal\simple_node_importer\Controller\NodeImportController::resolutionCenterTitleCallback'
  74. _controller: '\Drupal\simple_node_importer\Controller\NodeImportController::resolutionCenterOperations'
  75. options:
  76. parameters:
  77. node:
  78. type: entity:node
  79. requirements:
  80. _permission: 'admin access simple_node_importer'