You are here

public function KanbanLog::getOwner in Content Planner 8

Returns the entity owner's user entity.

Return value

\Drupal\user\UserInterface The owner user entity.

Overrides EntityOwnerInterface::getOwner

File

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

Class

KanbanLog
Defines the Kanban Log entity.

Namespace

Drupal\content_kanban\Entity

Code

public function getOwner() {
  return $this
    ->get('user_id')->entity;
}