You are here

public function PardotClientInterface::getPardotProspect in Pardot Integration 2.x

Retrieve a Pardot Prospect ID using an email address.

Parameters

string $visitor_email: The email address to use to look up a Pardot Prospect ID.

Return value

mixed The Prospect ID (integer) if found, or an empty string on error.

1 method overrides PardotClientInterface::getPardotProspect()
PardotClient::getPardotProspect in src/Service/PardotClient.php
Retrieve a Pardot Prospect ID using an email address.

File

src/Service/PardotClientInterface.php, line 72

Class

PardotClientInterface
Interface for the Pardot API service.

Namespace

Drupal\pardot\Service

Code

public function getPardotProspect(string $visitor_email);