You are here

public function KanbanLog::setOwnerId in Content Planner 8

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

modules/content_kanban/src/Entity/KanbanLog.php, line 117

Class

KanbanLog
Defines the Kanban Log entity.

Namespace

Drupal\content_kanban\Entity

Code

public function setOwnerId($uid) {
  $this
    ->set('user_id', $uid);
  return $this;
}