You are here

public function TeamMemberRole::getOwnerId in Apigee Edge 8

Returns the entity owner's user ID.

Return value

int|null The owner user ID, or NULL in case the user ID field has not been set on the entity.

Overrides EntityOwnerInterface::getOwnerId

File

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

Class

TeamMemberRole
Defines the team member role entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function getOwnerId() {
  return $this
    ->get('uid')->target_id;
}