public function PrivateMessageThreadAccessTime::getOwner in Private Message 8
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ PrivateMessageThreadAccessTime.php, line 49
Class
- PrivateMessageThreadAccessTime
- The Private Message Thread Access Time entity type definition.
Namespace
Drupal\private_message\EntityCode
public function getOwner() {
return $this
->get('owner')->entity;
}