You are here

pardot.routing.yml in Pardot Integration 8

Same filename and directory in other branches
  1. 2.x pardot.routing.yml

File

pardot.routing.yml
View source
  1. pardot.config:
  2. path: '/admin/config/services/pardot'
  3. defaults:
  4. _title: 'Configure Pardot'
  5. _form: '\Drupal\pardot\Form\PardotSettingsForm'
  6. requirements:
  7. _permission: 'administer pardot settings'
  8. pardot.campaign.list:
  9. path: '/admin/config/services/pardot/campaigns'
  10. defaults:
  11. _entity_list: 'pardot_campaign'
  12. _title: 'Pardot Campaings'
  13. requirements:
  14. _permission: 'administer pardot settings'
  15. entity.pardot_campaign.add_form:
  16. path: '/admin/config/services/pardot/campaigns/add'
  17. defaults:
  18. _title: 'Add Pardot Campaign'
  19. _entity_form: pardot_campaign.add
  20. requirements:
  21. _entity_create_access: pardot_campaign
  22. entity.pardot_campaign.edit_form:
  23. path: '/admin/config/services/pardot/campaigns/{pardot_campaign}'
  24. defaults:
  25. _title: 'Edit Pardot Camapign'
  26. _entity_form: pardot_campaign.edit
  27. requirements:
  28. _entity_access: pardot_campaign.update
  29. entity.pardot_campaign.delete_form:
  30. path: '/admin/config/services/pardot/campaigns/{pardot_campaign}/delete'
  31. defaults:
  32. _title: 'Delete Pardot Campaign'
  33. _entity_form: pardot_campaign.delete
  34. requirements:
  35. _entity_access: pardot_campaign.delete
  36. pardot.scores.list:
  37. path: '/admin/config/services/pardot/scores'
  38. defaults:
  39. _entity_list: 'pardot_score'
  40. _title: 'Pardot Scores'
  41. requirements:
  42. _permission: 'administer pardot settings'
  43. entity.pardot_score.add_form:
  44. path: '/admin/config/services/pardot/score/add'
  45. defaults:
  46. _title: 'Add Pardot Score'
  47. _entity_form: pardot_score.add
  48. requirements:
  49. _entity_create_access: pardot_score
  50. entity.pardot_score.edit_form:
  51. path: '/admin/config/services/pardot/scores/{pardot_score}'
  52. defaults:
  53. _title: 'Edit Pardot Score'
  54. _entity_form: pardot_score.edit
  55. requirements:
  56. _entity_access: pardot_score.update
  57. entity.pardot_score.delete_form:
  58. path: '/admin/config/services/pardot/scores/{pardot_score}/delete'
  59. defaults:
  60. _title: 'Delete Pardot Score'
  61. _entity_form: pardot_score.delete
  62. requirements:
  63. _entity_access: pardot_score.delete
  64. # Contact Form Mapping Routes
  65. pardot.pardot_contact_form_map.list:
  66. path: '/admin/config/services/pardot/contact-form-mappings'
  67. defaults:
  68. _entity_list: 'pardot_contact_form_map'
  69. _title: 'Pardot Contact Form Mappings'
  70. requirements:
  71. _permission: 'administer pardot settings'
  72. entity.pardot_contact_form_map.add_form:
  73. path: '/admin/config/services/pardot/contact-form-mappings/add'
  74. defaults:
  75. _title: 'Add Form Mapping'
  76. _entity_form: pardot_contact_form_map.add
  77. requirements:
  78. _entity_create_access: pardot_contact_form_map
  79. entity.pardot_contact_form_map.edit_form:
  80. path: '/admin/config/services/pardot/contact-form-mappings/{pardot_contact_form_map}'
  81. defaults:
  82. _title: 'Edit Pardot Contact Form Mapping'
  83. _entity_form: pardot_contact_form_map.edit
  84. requirements:
  85. _entity_access: pardot_contact_form_map.update
  86. entity.pardot_contact_form_map.delete_form:
  87. path: '/admin/config/services/pardot/contact-form-mappings/{pardot_contact_form_map}/delete'
  88. defaults:
  89. _title: 'Delete Pardot Contact Form Mapping'
  90. _entity_form: pardot_contact_form_map.delete
  91. requirements:
  92. _entity_access: pardot_contact_form_map.delete