You are here

public function FormMap::setMappedFieldCollection in Pardot Integration 2.x

Set the array of field map configurations.

Parameters

\Drupal\pardot\MappedField[] $mapping: The array of MappedField instances.

Overrides FormMapInterface::setMappedFieldCollection

1 call to FormMap::setMappedFieldCollection()
FormMap::__construct in src/FormMap.php

File

src/FormMap.php, line 82

Class

FormMap
Provides an interface for defining Pardot Form Map entities.

Namespace

Drupal\pardot

Code

public function setMappedFieldCollection(array $mapping) {
  $this->mapping = $mapping;
}