You are here

hubspot.routing.yml in HubSpot 8

Same filename and directory in other branches
  1. 3.x hubspot.routing.yml

File

hubspot.routing.yml
View source
  1. hubspot.admin_settings:
  2. path: /admin/config/services/hubspot
  3. defaults:
  4. _title: 'HubSpot integration settings'
  5. _form: \Drupal\hubspot\Form\AdminSettings
  6. requirements:
  7. _permission: 'administer site configuration'
  8. hubspot.oauth_connect:
  9. path: /hubspot/oauth
  10. defaults:
  11. _title: 'HubSpot OAuth redirect'
  12. _controller: '\Drupal\hubspot\Controller\Controller::hubspotOauthConnect'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. hubspot.form_settings:
  16. path: '/node/{node}/webform/hubspot'
  17. defaults:
  18. _title: HubSpot
  19. _form: \Drupal\hubspot\Form\FormSettings
  20. requirements:
  21. _permission: 'bypass node access+access content'