You are here

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

Set the instance of the plugin for this MappedField.

Parameters

mixed $plugin: The instance of a plugin or [].

Return value

$this Return this instance to act on with chaining.

Overrides MappedFieldInterface::setPlugin

File

src/MappedFieldBase.php, line 80

Class

MappedFieldBase
Provides a class for mapped fields.

Namespace

Drupal\pardot

Code

public function setPlugin($plugin) {
  $this->plugin = $plugin;
  return $this;
}