You are here

public function PrevNextHelperInterface::getNextId in Previous/Next API 8.2

Callable API function to retun the next id of a given entity id.

Parameters

int $entity_id: Entity id.

Return value

int|null Entity id if found.

1 method overrides PrevNextHelperInterface::getNextId()
PrevNextHelper::getNextId in src/PrevNextHelper.php
Callable API function to retun the next id of a given entity id.

File

src/PrevNextHelperInterface.php, line 59

Class

PrevNextHelperInterface
Interface for PrevNextHelper.

Namespace

Drupal\prev_next

Code

public function getNextId($entity_id);