You are here

public function MappedEmailField::setPluginType in Pardot Integration 2.x

Set the machine name of the plugin_type chosen.

Parameters

string $plugin_type: The machine name of the plugin_type chosen.

Return value

$this Return this instance to act on with chaining.

Overrides MappedFieldBase::setPluginType

File

src/MappedEmailField.php, line 33

Class

MappedEmailField
Provides a class for mapped fields.

Namespace

Drupal\pardot

Code

public function setPluginType(string $plugin_type) {

  // We don't want this to change.
  // $this->pluginType = $plugin_type.
  return $this;
}