You are here

protected function TeamAppApiKeyAddForm::getAppOwner in Apigee Edge 8

Returns the app owner id. This needs to come from the route.

Return value

string The app owner id.

Overrides AppApiKeyAddFormBase::getAppOwner

File

modules/apigee_edge_teams/src/Form/TeamAppApiKeyAddForm.php, line 61

Class

TeamAppApiKeyAddForm
Provides API key add form for team app.

Namespace

Drupal\apigee_edge_teams\Form

Code

protected function getAppOwner() : string {
  return $this->team
    ->id();
}