You are here

public function FacebookAlbumController::getAlbum in Facebook Album 8

Fetch the first set of photos from the specified album

Parameters

\Drupal\block\BlockInterface $block:

$album_id: The album id to fetch photos from

Return value

mixed

1 string reference to 'FacebookAlbumController::getAlbum'
facebook_album.routing.yml in ./facebook_album.routing.yml
facebook_album.routing.yml

File

src/Controller/FacebookAlbumController.php, line 115
Contains \Drupal\facebook_album\Controller\FacebookAlbumController.

Class

FacebookAlbumController
Controller for Facebook Album.

Namespace

Drupal\facebook_album\Controller

Code

public function getAlbum(BlockInterface $block, $album_id) {
  return $this
    ->getAlbumNext($block, $album_id);
}