You are here

public function RecentlyReadServiceInterface::getRecords in Recently Read 8

Get all records in DB for specified user/anonymous.

Parameters

int $user_id: User id.

Return value

array|int Returns an array of record id's.

1 method overrides RecentlyReadServiceInterface::getRecords()
RecentlyReadService::getRecords in src/RecentlyReadService.php
Get all records in DB for specified user/anonymous.

File

src/RecentlyReadServiceInterface.php, line 42

Class

RecentlyReadServiceInterface
Interface RecentlyReadServiceInterface.

Namespace

Drupal\recently_read

Code

public function getRecords($user_id);