You are here

public function Developer::getOwner in Apigee Edge 8

Returns the entity owner's user entity.

Return value

\Drupal\user\UserInterface The owner user entity.

Overrides EntityOwnerInterface::getOwner

File

src/Entity/Developer.php, line 410

Class

Developer
Defines the Developer entity class.

Namespace

Drupal\apigee_edge\Entity

Code

public function getOwner() {
  $owner_id = $this
    ->getOwnerId();
  return $owner_id === NULL ? NULL : User::load($owner_id);
}