You are here

diff.routing.yml in Diff 8

File

diff.routing.yml
View source
  1. diff.revisions_diff:
  2. path: '/node/{node}/revisions/view/{left_revision}/{right_revision}/{filter}'
  3. defaults:
  4. _controller: '\Drupal\diff\Controller\NodeRevisionController::compareNodeRevisions'
  5. _title: Diff General Settings
  6. requirements:
  7. _access_node_revision: 'view'
  8. options:
  9. _admin_route: TRUE
  10. diff.general_settings:
  11. path: '/admin/config/content/diff/general'
  12. defaults:
  13. _form: '\Drupal\diff\Form\GeneralSettingsForm'
  14. _title: Diff General Settings
  15. requirements:
  16. _permission: 'administer site configuration'
  17. diff.fields_list:
  18. path: '/admin/config/content/diff/fields'
  19. defaults:
  20. _form: '\Drupal\diff\Form\FieldsSettingsForm'
  21. _title: Fields Settings
  22. requirements:
  23. _permission: 'administer site configuration'