You are here

public function MappedFieldInterface::__construct in Pardot Integration 2.x

Constructs a new MappedField.

Parameters

string $pardot_key: The pardot field key to map the value to.

string $plugin_type: The plugin id.

mixed $plugin: (optional) The Plugin associated with this map.

mixed $config: (optional) Pass some initial config to the plugin.

1 method overrides MappedFieldInterface::__construct()
MappedFieldBase::__construct in src/MappedFieldBase.php
Constructs a new MappedField.

File

src/MappedFieldInterface.php, line 22

Class

MappedFieldInterface
Provides a class for mapped fields.

Namespace

Drupal\pardot

Code

public function __construct(string $pardot_key = '', string $plugin_type = '', $plugin = [], $config = []);