You are here

salesforce_mapping_ui.routing.yml in Salesforce Suite 8.4

Same filename and directory in other branches
  1. 5.0.x modules/salesforce_mapping_ui/salesforce_mapping_ui.routing.yml
modules/salesforce_mapping_ui/salesforce_mapping_ui.routing.yml

File

modules/salesforce_mapping_ui/salesforce_mapping_ui.routing.yml
View source
  1. salesforce.structure_index:
  2. path: '/admin/structure/salesforce'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'Salesforce'
  6. _description: 'Manage Salesforce mappings.'
  7. requirements:
  8. _permission: 'administer salesforce'
  9. entity.salesforce_mapping.list:
  10. path: '/admin/structure/salesforce/mappings'
  11. defaults:
  12. _entity_list: 'salesforce_mapping'
  13. _title: 'Salesforce Mappings'
  14. requirements:
  15. _permission: 'administer salesforce mapping'
  16. entity.salesforce_mapping.add_form:
  17. path: '/admin/structure/salesforce/mappings/add'
  18. defaults:
  19. _entity_form: 'salesforce_mapping.add'
  20. _title: 'Add Mapping'
  21. requirements:
  22. _entity_create_access: 'salesforce_mapping'
  23. entity.salesforce_mapping.edit_form:
  24. path: '/admin/structure/salesforce/mappings/manage/{salesforce_mapping}'
  25. defaults:
  26. _entity_form: 'salesforce_mapping.edit'
  27. _title_callback: '\Drupal\salesforce_mapping_ui\Controller\SalesforceMappingController::editTitle'
  28. requirements:
  29. _entity_access: 'salesforce_mapping.update'
  30. entity.salesforce_mapping.fields:
  31. path: '/admin/structure/salesforce/mappings/manage/{salesforce_mapping}/fields'
  32. defaults:
  33. _entity_form: 'salesforce_mapping.fields'
  34. _title_callback: '\Drupal\salesforce_mapping_ui\Controller\SalesforceMappingController::fieldsTitle'
  35. requirements:
  36. _entity_access: 'salesforce_mapping.update'
  37. entity.salesforce_mapping.delete_form:
  38. path: '/admin/structure/salesforce/mappings/manage/{salesforce_mapping}/delete'
  39. defaults:
  40. _entity_form: 'salesforce_mapping.delete'
  41. requirements:
  42. _entity_access: 'salesforce_mapping.delete'
  43. entity.salesforce_mapping.enable:
  44. path: '/admin/structure/salesforce/mappings/manage/{salesforce_mapping}/enable'
  45. defaults:
  46. _entity_form: 'salesforce_mapping.enable'
  47. requirements:
  48. _entity_access: 'salesforce_mapping.update'
  49. entity.salesforce_mapping.disable:
  50. path: '/admin/structure/salesforce/mappings/manage/{salesforce_mapping}/disable'
  51. defaults:
  52. _entity_form: 'salesforce_mapping.disable'
  53. requirements:
  54. _entity_access: 'salesforce_mapping.update'
  55. entity.salesforce_mapped_object.list:
  56. path: '/admin/content/salesforce'
  57. defaults:
  58. _entity_list: 'salesforce_mapped_object'
  59. _title: 'Salesforce Mapped Objects'
  60. requirements:
  61. _permission: 'administer salesforce mapped objects'
  62. entity.salesforce_mapped_object.canonical:
  63. path: '/admin/content/salesforce/{salesforce_mapped_object}'
  64. defaults:
  65. _title: 'Salesforce Mapped Object'
  66. _entity_view: 'salesforce_mapped_object.full'
  67. requirements:
  68. _permission: 'administer salesforce mapped objects'
  69. entity.salesforce_mapped_object.add_form:
  70. path: '/admin/content/salesforce/add'
  71. defaults:
  72. _entity_form: 'salesforce_mapped_object.add'
  73. _title: 'Salesforce Mapped Object'
  74. requirements:
  75. _permission: 'administer salesforce mapped objects'
  76. entity.salesforce_mapped_object.edit_form:
  77. path: '/admin/content/salesforce/{salesforce_mapped_object}/edit'
  78. defaults:
  79. _entity_form: 'salesforce_mapped_object.edit'
  80. _title: 'Salesforce Mapped Object'
  81. requirements:
  82. _permission: 'administer salesforce mapped objects'
  83. entity.salesforce_mapped_object.delete_form:
  84. path: '/admin/content/salesforce/{salesforce_mapped_object}/delete'
  85. defaults:
  86. _entity_form: 'salesforce_mapped_object.delete'
  87. requirements:
  88. _permission: 'administer salesforce mapped objects'
  89. salesforce_mapping.autocomplete_controller_autocomplete:
  90. path: '/salesforce_mapping/autocomplete/{entity_type_id}/{bundle}'
  91. defaults:
  92. _controller: '\Drupal\salesforce_mapping_ui\Controller\AutocompleteController::autocomplete'
  93. _format: json
  94. requirements:
  95. _permission: 'administer salesforce mapped objects'