You are here

public function PhotosImageInterface::getPager in Album Photos 8.5

Same name and namespace in other branches
  1. 6.0.x src/PhotosImageInterface.php \Drupal\photos\PhotosImageInterface::getPager()

Gets the page for this image.

Parameters

int $id: The pager id: album_id or uid.

string $type: The type of pager: album_id or uid.

Return value

array The photos image pager data or render array.

1 method overrides PhotosImageInterface::getPager()
PhotosImage::getPager in src/Entity/PhotosImage.php
Gets the page for this image.

File

src/PhotosImageInterface.php, line 167

Class

PhotosImageInterface
Provides an interface defining a photos image entity.

Namespace

Drupal\photos

Code

public function getPager($id, $type);