You are here

public function RecentlyRead::getSessionId in Recently Read 8

Get session id.

Overrides RecentlyReadInterface::getSessionId

File

src/Entity/RecentlyRead.php, line 112

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

public function getSessionId() {
  return $this
    ->get('session_id')->value;
}