You are here

name.routing.yml in Name Field 8

File

name.routing.yml
View source
  1. name.settings:
  2. path: '/admin/config/regional/name/settings'
  3. defaults:
  4. _title: 'Name format settings'
  5. _form: 'Drupal\name\NameSettingsForm'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. name.name_format_list:
  9. path: '/admin/config/regional/name'
  10. defaults:
  11. _title: 'Name formats'
  12. _entity_list: 'name_format'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. name.name_format_add:
  16. path: '/admin/config/regional/name/add'
  17. defaults:
  18. _title: 'Add name format'
  19. _entity_form: name_format.add
  20. requirements:
  21. _permission: 'administer site configuration'
  22. entity.name_format.edit_form:
  23. path: '/admin/config/regional/name/manage/{name_format}'
  24. defaults:
  25. _title: 'Edit name format'
  26. _entity_form: name_format.edit
  27. requirements:
  28. _entity_access: 'name_format.update'
  29. entity.name_format.delete_form:
  30. path: '/admin/config/regional/name/manage/{name_format}/delete'
  31. defaults:
  32. _title: 'Delete'
  33. _entity_form: name_format.delete
  34. requirements:
  35. _entity_access: 'name_format.delete'
  36. name.name_list_format_list:
  37. path: '/admin/config/regional/name/list'
  38. defaults:
  39. _title: 'Name list formats'
  40. _entity_list: 'name_list_format'
  41. requirements:
  42. _permission: 'administer site configuration'
  43. name.name_list_format_add:
  44. path: '/admin/config/regional/name/list/add'
  45. defaults:
  46. _title: 'Add name list format'
  47. _entity_form: name_list_format.add
  48. requirements:
  49. _permission: 'administer site configuration'
  50. entity.name_list_format.edit_form:
  51. path: '/admin/config/regional/name/list/manage/{name_list_format}'
  52. defaults:
  53. _title: 'Edit name list format'
  54. _entity_form: name_list_format.edit
  55. requirements:
  56. _entity_access: 'name_list_format.update'
  57. entity.name_list_format.delete_form:
  58. path: '/admin/config/regional/name/list/manage/{name_list_format}/delete'
  59. defaults:
  60. _title: 'Delete'
  61. _entity_form: name_list_format.delete
  62. requirements:
  63. _entity_access: 'name_list_format.delete'
  64. name.autocomplete:
  65. path: '/name/autocomplete/{field_name}/{entity_type}/{bundle}/{component}'
  66. defaults:
  67. _controller: '\Drupal\name\Controller\NameAutocompleteController::autocomplete'
  68. requirements:
  69. _permission: 'access content'