You are here

crossdomain.routing.yml in Crossdomain 8

File

crossdomain.routing.yml
View source
  1. crossdomain.view:
  2. path: '/crossdomain.xml'
  3. defaults:
  4. _controller: '\Drupal\crossdomain\Controller\CrossdomainController::view'
  5. requirements:
  6. _access: 'TRUE'
  7. crossdomain.list:
  8. path: '/admin/config/media/crossdomain'
  9. defaults:
  10. _title: 'Crossdomain'
  11. _content: '\Drupal\Core\Entity\Controller\EntityListController::listing'
  12. entity_type: 'crossdomain'
  13. requirements:
  14. _permission: 'administer crossdomain'
  15. crossdomain.add:
  16. path: '/admin/config/media/crossdomain/add'
  17. defaults:
  18. _entity_form: 'crossdomain.add'
  19. _title: 'Add domain'
  20. requirements:
  21. _permission: 'administer crossdomain'
  22. crossdomain.edit:
  23. path: '/admin/config/media/crossdomain/{crossdomain}'
  24. defaults:
  25. _entity_form: 'crossdomain.edit'
  26. _title: 'Edit domain'
  27. requirements:
  28. _permission: 'administer crossdomain'
  29. crossdomain.delete:
  30. path: '/admin/config/media/crossdomain/{crossdomain}/delete'
  31. defaults:
  32. _entity_form: 'crossdomain.delete'
  33. _title: 'Delete domain'
  34. requirements:
  35. _permission: 'administer crossdomain'