public function Contact::getOwnerId in RedHen CRM 8
Returns the entity owner's user ID.
Return value
int|null The owner user ID, or NULL in case the user ID field has not been set on the entity.
Overrides EntityOwnerInterface::getOwnerId
File
- modules/
redhen_contact/ src/ Entity/ Contact.php, line 174
Class
- Contact
- Defines the Contact entity.
Namespace
Drupal\redhen_contact\EntityCode
public function getOwnerId() {
return $this
->getUserId();
}