You are here

webform_civicrm.routing.yml in Webform CiviCRM Integration 8.5

File

webform_civicrm.routing.yml
View source
  1. entity.webform.civicrm:
  2. path: '/admin/structure/webform/manage/{webform}/civicrm'
  3. defaults:
  4. _form: '\Drupal\webform_civicrm\Form\WebformCiviCRMSettingsForm'
  5. _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
  6. options:
  7. parameters:
  8. webform:
  9. type: 'entity:webform'
  10. requirements:
  11. _entity_access: 'webform.update'
  12. _permission: 'access CiviCRM'
  13. webform_civicrm.ajax:
  14. path: webform-civicrm/js/{key}/{input}/{isBilling}
  15. defaults:
  16. _controller: 'Drupal\webform_civicrm\Controller\AjaxController::handle'
  17. input: ''
  18. isBilling: ''
  19. requirements:
  20. _access: 'TRUE'
  21. _format: 'json'