You are here

public function Contact::getUserId in RedHen CRM 8

1 call to Contact::getUserId()
Contact::getOwnerId in modules/redhen_contact/src/Entity/Contact.php
Returns the entity owner's user ID.

File

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

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function getUserId() {
  return $this
    ->get('uid')->target_id;
}