You are here

public function TeamMemberRole::getOwner in Apigee Edge 8

Returns the entity owner's user entity.

Return value

\Drupal\user\UserInterface The owner user entity.

Overrides EntityOwnerInterface::getOwner

1 call to TeamMemberRole::getOwner()
TeamMemberRole::getDeveloper in modules/apigee_edge_teams/src/Entity/TeamMemberRole.php
Returns the developer's user entity.

File

modules/apigee_edge_teams/src/Entity/TeamMemberRole.php, line 144

Class

TeamMemberRole
Defines the team member role entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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