You are here

public function RecentlyRead::setSessionId in Recently Read 8

Set session id.

Overrides RecentlyReadInterface::setSessionId

File

src/Entity/RecentlyRead.php, line 119

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

public function setSessionId($sessionId) {
  $this
    ->set('session_id', $sessionId);
  return $this;
}