You are here

function campaignmonitor_get_subscriber in Campaign Monitor 8

Gets subscriber info from CM.

1 call to campaignmonitor_get_subscriber()
CampaignMonitorSubscribeForm::singleSubscribeForm in src/Form/CampaignMonitorSubscribeForm.php

File

./campaignmonitor.module, line 522
Module that plugs in Campaign Monitor functionality to your Drupal web site. For Campaign Monitor information see: http://www.campaignmonitor.com/.

Code

function campaignmonitor_get_subscriber($list_id, $email) {
  $cm = CampaignMonitor::getConnector();
  return $cm
    ->getSubscriber($list_id, $email);
}