You are here

protected function DeveloperAppApiKeyAddForm::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

src/Form/DeveloperAppApiKeyAddForm.php, line 53

Class

DeveloperAppApiKeyAddForm
Provides API key add form for developer app.

Namespace

Drupal\apigee_edge\Form

Code

protected function getAppOwner() : string {
  return $this->user
    ->getEmail();
}