You are here

public function RecentlyRead::getEntityId in Recently Read 8

Get entity id.

Overrides RecentlyReadInterface::getEntityId

File

src/Entity/RecentlyRead.php, line 97

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

public function getEntityId() {
  return $this
    ->get('entity_id')->value;
}