You are here

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

Class

DeveloperApp
Defines the Developer app entity class.

Namespace

Drupal\apigee_edge\Entity

Code

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