You are here

public function Contact::setUserId in RedHen CRM 8

1 call to Contact::setUserId()
Contact::setOwnerId in modules/redhen_contact/src/Entity/Contact.php
Sets the entity owner's user ID.

File

modules/redhen_contact/src/Entity/Contact.php, line 151

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

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