You are here

synonyms.routing.yml in Synonyms 2.0.x

Same filename and directory in other branches
  1. 8 synonyms.routing.yml

File

synonyms.routing.yml
View source
  1. synonyms.settings:
  2. path: '/admin/structure/synonyms/settings'
  3. defaults:
  4. _form: '\Drupal\synonyms\Form\SettingsForm'
  5. _title: 'Synonyms settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. synonyms.overview:
  9. path: '/admin/structure/synonyms'
  10. defaults:
  11. _controller: 'Drupal\synonyms\Controller\SynonymConfigController::overview'
  12. _title: 'Synonyms configuration'
  13. requirements:
  14. _permission: 'administer synonyms'
  15. synonym.entity_type.bundle:
  16. path: '/admin/structure/synonyms/synonym/{synonyms_entity_type}/{bundle}'
  17. options:
  18. parameters:
  19. synonyms_entity_type:
  20. type: synonyms_entity_type
  21. bundle:
  22. type: bundle
  23. defaults:
  24. _controller: 'Drupal\synonyms\Controller\SynonymConfigController::entityTypeBundleProviders'
  25. _title: 'Synonyms Providers'
  26. _title_callback: 'Drupal\synonyms\Controller\SynonymConfigController::entityTypeBundleProvidersTitle'
  27. requirements:
  28. _permission: 'administer synonyms'
  29. behavior.entity_type.bundle:
  30. path: '/admin/structure/synonyms/behavior/{synonyms_entity_type}/{bundle}'
  31. options:
  32. parameters:
  33. synonyms_entity_type:
  34. type: synonyms_entity_type
  35. bundle:
  36. type: bundle
  37. defaults:
  38. _form: '\Drupal\synonyms\Form\BehaviorForm'
  39. _title: 'Manage behaviors'
  40. _title_callback: 'Drupal\synonyms\Form\BehaviorForm::entityTypeBundleBehaviorsTitle'
  41. requirements:
  42. _permission: 'administer site configuration'
  43. synonym.entity_type.bundle.add_form:
  44. path: '/admin/structure/synonyms/{synonyms_entity_type}/{bundle}/add'
  45. options:
  46. parameters:
  47. synonyms_entity_type:
  48. type: synonyms_entity_type
  49. bundle:
  50. type: bundle
  51. defaults:
  52. _entity_form: 'synonym.add'
  53. _title: 'Add provider'
  54. requirements:
  55. _permission: 'administer synonyms'
  56. entity.synonym.edit_form:
  57. path: '/admin/structure/synonyms/{synonym}'
  58. defaults:
  59. _entity_form: 'synonym.edit'
  60. _title: 'Edit provider'
  61. requirements:
  62. _permission: 'administer synonyms'
  63. entity.synonym.delete_form:
  64. path: '/admin/structure/synonyms/{synonym}/delete'
  65. defaults:
  66. _entity_form: 'synonym.delete'
  67. _title: 'Delete provider'
  68. requirements:
  69. _permission: 'administer synonyms'