You are here

public function AppAnalyticsSettingsForm::__construct in Apigee Edge 8

Constructs a new DeveloperAppAnalyticsSettingsForm.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\apigee_edge\SDKConnectorInterface $sdk_connector: The SDK connector service.

Overrides ConfigFormBase::__construct

File

src/Form/AppAnalyticsSettingsForm.php, line 49

Class

AppAnalyticsSettingsForm
Provides a form for app analytics related configuration.

Namespace

Drupal\apigee_edge\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, SDKConnectorInterface $sdk_connector) {
  parent::__construct($config_factory);
  $this->environmentController = new EnvironmentController($sdk_connector
    ->getOrganization(), $sdk_connector
    ->getClient());
}