You are here

entityconnect.routing.yml in Entity connect 8.2

File

entityconnect.routing.yml
View source
  1. entityconnect.administration_form:
  2. path: '/admin/config/content/entityconnect'
  3. defaults:
  4. _form: '\Drupal\entityconnect\Form\AdministrationForm'
  5. _title: 'Entity Connect Administration'
  6. requirements:
  7. _permission: 'administer entityconnect'
  8. entityconnect.return:
  9. path: '/admin/entityconnect/return/{cache_id}/{cancel}'
  10. defaults:
  11. _controller: '\Drupal\entityconnect\Controller\EntityconnectController::returnTo'
  12. _title: 'Return to original entity.'
  13. cancel: false
  14. requirements:
  15. _entityconnect_access_check: 'TRUE'
  16. entityconnect.edit:
  17. path: '/admin/entityconnect/edit/{cache_id}'
  18. defaults:
  19. _controller: '\Drupal\entityconnect\Controller\EntityconnectController::edit'
  20. _title: 'Edit item for entity referenced.'
  21. requirements:
  22. _permission: 'entityconnect edit button'
  23. entityconnect.add:
  24. path: '/admin/entityconnect/add/{cache_id}'
  25. defaults:
  26. _controller: '\Drupal\entityconnect\Controller\EntityconnectController::add'
  27. _title: 'Choose type to create and add'
  28. requirements:
  29. _permission: 'entityconnect add button'