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
Namespace
Drupal\campaignmonitor_campaignCode
public function __construct() {
// // Get account information.
$this->campaignMonitor = CampaignMonitor::GetConnector();
}