public function PrevNextHelperInterface::getPrevnextId in Previous/Next API 8.2
Callable API function to get the next/prev id of a given entity id.
Parameters
int $entity_id: Entity id.
string $op: The type of operation.
1 method overrides PrevNextHelperInterface::getPrevnextId()
- PrevNextHelper::getPrevnextId in src/
PrevNextHelper.php - Callable API function to get the next/prev id of a given entity id.
File
- src/
PrevNextHelperInterface.php, line 37
Class
- PrevNextHelperInterface
- Interface for PrevNextHelper.
Namespace
Drupal\prev_nextCode
public function getPrevnextId($entity_id, $op = 'next');