You are here

public function PrivateMessageThreadDeleteTime::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/PrivateMessageThreadDeleteTime.php, line 48

Class

PrivateMessageThreadDeleteTime
Defines the PrivateMessageThreadDeleteTime entity.

Namespace

Drupal\private_message\Entity

Code

public function getOwner() {
  return $this
    ->get('owner')->entity;
}