You are here

public function MeetingResult::getUserId in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Entity/MeetingResult.php \Drupal\opigno_moxtra\Entity\MeetingResult::getUserId()

Returns the user ID.

Return value

int|null The user ID, or NULL in case the user ID field has not been set on the entity.

Overrides MeetingResultInterface::getUserId

File

src/Entity/MeetingResult.php, line 94

Class

MeetingResult
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getUserId() {
  return $this
    ->get('user_id')->target_id;
}