public function RngContact::getOwner in RNG Contact 8
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ RngContact.php, line 55
Class
- RngContact
- Defines the contact entity.
Namespace
Drupal\rng_contact\EntityCode
public function getOwner() {
return $this
->get('owner')->entity;
}