You are here

public function Meeting::setOwnerId in Opigno Moxtra 8

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

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/Meeting.php, line 90

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

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