public function PrevNextHelperInterface::getPrevId in Previous/Next API 8.2
Callable API function to retun the prev id of a given entity id.
Parameters
int $entity_id: Entity id.
Return value
int|null Entity id if found.
1 method overrides PrevNextHelperInterface::getPrevId()
- PrevNextHelper::getPrevId in src/
PrevNextHelper.php - Callable API function to retun the prev id of a given entity id.
File
- src/
PrevNextHelperInterface.php, line 48
Class
- PrevNextHelperInterface
- Interface for PrevNextHelper.
Namespace
Drupal\prev_nextCode
public function getPrevId($entity_id);