You are here

trait TeamAppApiKeyFormTrait in Apigee Edge 8

Provides form trait for team app API key.

Hierarchy

File

modules/apigee_edge_teams/src/Form/TeamAppApiKeyFormTrait.php, line 27

Namespace

Drupal\apigee_edge_teams\Form
View source
trait TeamAppApiKeyFormTrait {

  /**
   * {@inheritdoc}
   */
  protected function appCredentialController(string $owner, string $app_name) : AppCredentialControllerInterface {
    return \Drupal::service('apigee_edge_teams.controller.team_app_credential_controller_factory')
      ->teamAppCredentialController($owner, $app_name);
  }

  /**
   * {@inheritdoc}
   */
  public function getCancelUrl() {
    return $this->app
      ->toUrl();
  }

}

Members