You are here

public function InviteType::setOwnerId in Invite 8

File

src/Entity/InviteType.php, line 130

Class

InviteType
Defines the Invite type entity.

Namespace

Drupal\invite\Entity

Code

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