public function PrivateMessageThreadDeleteTime::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/ PrivateMessageThreadDeleteTime.php, line 62
Class
- PrivateMessageThreadDeleteTime
- Defines the PrivateMessageThreadDeleteTime entity.
Namespace
Drupal\private_message\EntityCode
public function setOwnerId($uid) {
$this
->set('owner', $uid);
return $this;
}