You are here

public function MappedFieldBase::setPardotKey in Pardot Integration 2.x

Set the string for the pardot key.

Parameters

string $pardot_key: The key for the pardot field.

Return value

$this Return this instance to act on with chaining.

Overrides MappedFieldInterface::setPardotKey

File

src/MappedFieldBase.php, line 50

Class

MappedFieldBase
Provides a class for mapped fields.

Namespace

Drupal\pardot

Code

public function setPardotKey($pardot_key) {
  $this->pardotKey = $pardot_key;
  return $this;
}