You are here

salesforce_pull.routing.yml in Salesforce Suite 8.4

modules/salesforce_pull/salesforce_pull.routing.yml

File

modules/salesforce_pull/salesforce_pull.routing.yml
View source
  1. salesforce_pull.endpoint:
  2. path: '/salesforce_pull/endpoint/{key}'
  3. defaults:
  4. _controller: '\Drupal\salesforce_pull\Controller\PullController::endpoint'
  5. options:
  6. no_cache: TRUE
  7. requirements:
  8. _access_system_cron: 'TRUE'
  9. salesforce_pull.endpoint.salesforce_mapping:
  10. path: '/salesforce_pull/{salesforce_mapping}/endpoint/{key}'
  11. defaults:
  12. _controller: '\Drupal\salesforce_pull\Controller\PullController::endpoint'
  13. options:
  14. no_cache: TRUE
  15. requirements:
  16. _access_system_cron: 'TRUE'
  17. salesforce_pull.endpoint.single_record:
  18. path: '/salesforce_pull/{salesforce_mapping}/endpoint/{key}/record/{id}'
  19. defaults:
  20. _controller: '\Drupal\salesforce_pull\Controller\PullController::endpoint'
  21. options:
  22. no_cache: TRUE
  23. requirements:
  24. _access_system_cron: 'TRUE'