You are here

public function RecentlyRead::setEnitityId in Recently Read 8

Set entity id.

Overrides RecentlyReadInterface::setEnitityId

File

src/Entity/RecentlyRead.php, line 104

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

public function setEnitityId($entityId) {
  $this
    ->set('entity_id', $entityId);
  return $this;
}