You are here

public function CampaignMonitorCampaign::__construct in Campaign Monitor 8

Private class constructor, which prevents creation of this class directly. Use the static function CampaignMonitor::GetConnector().

Parameters

string $api_key:

string $client_id:

string $libraryPath: optional.

Overrides CampaignMonitor::__construct

File

modules/campaignmonitor_campaign/src/CampaignMonitorCampaign.php, line 21

Class

CampaignMonitorCampaign

Namespace

Drupal\campaignmonitor_campaign

Code

public function __construct() {

  // // Get account information.
  $this->campaignMonitor = CampaignMonitor::GetConnector();
}