public function PrevNextApiInterface::add in Previous/Next API 8.2
Create the prev_next records.
Parameters
int $entity_id: Entity id.
string $bundle_name: Entity type.
1 method overrides PrevNextApiInterface::add()
- PrevNextApi::add in src/
PrevNextApi.php - Create the prev_next records.
File
- src/
PrevNextApiInterface.php, line 18
Class
- PrevNextApiInterface
- Interface for PrevNextApi.
Namespace
Drupal\prev_nextCode
public function add($entity_id, $bundle_name);