You are here

domain_path.routing.yml in Domain Path 8

File

domain_path.routing.yml
View source
  1. entity.domain_path.canonical:
  2. path: '/admin/config/domain_path/{domain_path}/edit'
  3. defaults:
  4. _entity_form: domain_path.edit
  5. _title: 'Edit Domain path'
  6. requirements:
  7. _entity_access: 'domain_path.edit'
  8. options:
  9. _admin_route: TRUE
  10. entity.domain_path.collection:
  11. path: '/admin/config/domain_path'
  12. defaults:
  13. _entity_list: 'domain_path'
  14. _title: 'Domain path List'
  15. _title_context: 'With modules'
  16. requirements:
  17. _custom_access: '\Drupal\domain_path\Access\DomainPathListCheck::viewDomainPathList'
  18. entity.domain_path_add:
  19. path: '/admin/config/domain_path/add'
  20. defaults:
  21. _entity_form: domain_path.add
  22. _title: 'Add Domain path'
  23. requirements:
  24. _entity_create_access: 'domain_path'
  25. options:
  26. _admin_route: TRUE
  27. entity.domain_path.edit_form:
  28. path: '/admin/config/domain_path/{domain_path}/edit'
  29. defaults:
  30. _entity_form: domain_path.edit
  31. _title: 'Edit Domain path'
  32. requirements:
  33. _entity_access: 'domain_path.edit'
  34. options:
  35. _admin_route: TRUE
  36. entity.domain_path.delete_form:
  37. path: '/admin/config/domain_path/{domain_path}/delete'
  38. defaults:
  39. _entity_form: domain_path.delete
  40. _title: 'Delete Domain path'
  41. requirements:
  42. _entity_access: 'domain_path.delete'
  43. options:
  44. _admin_route: TRUE
  45. entity.domain_path_settings:
  46. path: '/admin/config/domain_path/domain_path_settings'
  47. defaults:
  48. _form: '\Drupal\domain_path\Form\DomainPathSettingsForm'
  49. _title: 'Domain path Settings'
  50. requirements:
  51. _permission: 'administer domain paths'