pathauto.routing.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. entity.pathauto_pattern.collection:
  2. path: '/admin/config/search/path/patterns'
  3. defaults:
  4. _entity_list: 'pathauto_pattern'
  5. _title: 'Patterns'
  6. requirements:
  7. _permission: 'administer pathauto'
  8. entity.pathauto_pattern.add_form:
  9. path: '/admin/config/search/path/patterns/add'
  10. defaults:
  11. _entity_form: 'pathauto_pattern.default'
  12. _title: 'Add Pathauto pattern'
  13. tempstore_id: 'pathauto.pattern'
  14. requirements:
  15. _permission: 'administer pathauto'
  16. pathauto.settings.form:
  17. path: '/admin/config/search/path/settings'
  18. defaults:
  19. _form: '\Drupal\pathauto\Form\PathautoSettingsForm'
  20. _title: 'Settings'
  21. requirements:
  22. _permission: 'administer pathauto'
  23. entity.pathauto_pattern.enable:
  24. path: '/admin/config/search/path/patterns/{pathauto_pattern}/enable'
  25. defaults:
  26. _entity_form: 'pathauto_pattern.enable'
  27. requirements:
  28. _entity_access: 'pathauto_pattern.update'
  29. entity.pathauto_pattern.disable:
  30. path: '/admin/config/search/path/patterns/{pathauto_pattern}/disable'
  31. defaults:
  32. _entity_form: 'pathauto_pattern.disable'
  33. requirements:
  34. _entity_access: 'pathauto_pattern.update'
  35. pathauto.bulk.update.form:
  36. path: '/admin/config/search/path/update_bulk'
  37. defaults:
  38. _form: '\Drupal\pathauto\Form\PathautoBulkUpdateForm'
  39. _title: 'Bulk generate'
  40. requirements:
  41. _permission: 'administer url aliases'
  42. pathauto.admin.delete:
  43. path: '/admin/config/search/path/delete_bulk'
  44. defaults:
  45. _form: '\Drupal\pathauto\Form\PathautoAdminDelete'
  46. _title: 'Delete aliases'
  47. requirements:
  48. _permission: 'administer url aliases'