You are here

public function PrivateMessageThreadAccessTime::setOwnerId in Private Message 8

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/PrivateMessageThreadAccessTime.php, line 63

Class

PrivateMessageThreadAccessTime
The Private Message Thread Access Time entity type definition.

Namespace

Drupal\private_message\Entity

Code

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