You are here

facebook_album.routing.yml in Facebook Album 8

File

facebook_album.routing.yml
View source
  1. facebook_album.admin:
  2. path: '/admin/config/services/facebook_album'
  3. defaults:
  4. _form: 'Drupal\facebook_album\Form\FacebookAlbumForm'
  5. _title: 'Configure Facebook Album'
  6. requirements:
  7. _permission: 'facebook_album configuration'
  8. facebook_album.albums:
  9. path: /facebook-album/{block}/albums
  10. defaults:
  11. _controller: 'Drupal\facebook_album\Controller\FacebookAlbumController::getAlbums'
  12. requirements:
  13. _permission: 'access content'
  14. facebook_album.albums_next:
  15. path: /facebook-album/{block}/albums/next/{after}
  16. defaults:
  17. _controller: 'Drupal\facebook_album\Controller\FacebookAlbumController::getAlbumsNext'
  18. requirements:
  19. _permission: 'access content'
  20. facebook_album.album:
  21. path: /facebook-album/{block}/album/{album_id}
  22. defaults:
  23. _controller: 'Drupal\facebook_album\Controller\FacebookAlbumController::getAlbum'
  24. requirements:
  25. _permission: 'access content'
  26. facebook_album.album_next:
  27. path: /facebook-album/{block}/album/{album_id}/next/{after}
  28. defaults:
  29. _controller: 'Drupal\facebook_album\Controller\FacebookAlbumController::getAlbumNext'
  30. requirements:
  31. _permission: 'access content'
  32. facebook_album.photo:
  33. path: /facebook-album/photo/{photo_id}
  34. defaults:
  35. _controller: 'Drupal\facebook_album\Controller\FacebookAlbumController::getPhoto'
  36. requirements:
  37. _permission: 'access content'