You are here

public function Contact::getOwner in RedHen CRM 8

Returns the entity owner's user entity.

Return value

\Drupal\user\UserInterface The owner user entity.

Overrides EntityOwnerInterface::getOwner

File

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

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function getOwner() {
  return $this
    ->getUser();
}