You are here

gathercontent.routing.yml in GatherContent 8

File

gathercontent.routing.yml
View source
  1. gathercontent.admin_gathercontent:
  2. path: '/admin/config/gathercontent'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'GatherContent'
  6. requirements:
  7. _permission: 'access administration pages'
  8. gathercontent.config_form:
  9. path: '/admin/config/gathercontent/config'
  10. defaults:
  11. _form: '\Drupal\gathercontent\Form\ConfigForm'
  12. _title: 'Authentication'
  13. requirements:
  14. _permission: 'administer gathercontent'
  15. options:
  16. _admin_route: TRUE
  17. gathercontent.import_select_form:
  18. path: '/admin/config/gathercontent/import'
  19. defaults:
  20. _form: '\Drupal\gathercontent\Form\GathercontentContentImportSelectForm'
  21. _title: 'Import content'
  22. requirements:
  23. _permission: 'administer gathercontent'
  24. options:
  25. _admin_route: TRUE
  26. gathercontent.import_confirm_form:
  27. path: '/admin/config/gathercontent/import/confirm'
  28. defaults:
  29. _form: '\Drupal\gathercontent\Form\GathercontentContentImportConfirmForm'
  30. _title: 'Confirm import selection'
  31. requirements:
  32. _permission: 'administer gathercontent'
  33. options:
  34. _admin_route: TRUE