public function KanbanLog::getOwnerId in Content Planner 8
Returns the entity owner's user ID.
Return value
int|null The owner user ID, or NULL in case the user ID field has not been set on the entity.
Overrides EntityOwnerInterface::getOwnerId
File
- modules/
content_kanban/ src/ Entity/ KanbanLog.php, line 110
Class
- KanbanLog
- Defines the Kanban Log entity.
Namespace
Drupal\content_kanban\EntityCode
public function getOwnerId() {
return $this
->get('user_id')->target_id;
}