public function Contact::setOwnerId in RedHen CRM 8
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
1 call to Contact::setOwnerId()
- Contact::setOwner in modules/
redhen_contact/ src/ Entity/ Contact.php - Sets the entity owner's user entity.
File
- modules/
redhen_contact/ src/ Entity/ Contact.php, line 181
Class
- Contact
- Defines the Contact entity.
Namespace
Drupal\redhen_contact\EntityCode
public function setOwnerId($uid) {
$this
->setUserId($uid);
return $this;
}