You are here

public function MappedFieldBase::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 MappedFieldInterface::setPluginType

1 method overrides MappedFieldBase::setPluginType()
MappedEmailField::setPluginType in src/MappedEmailField.php
Set the machine name of the plugin_type chosen.

File

src/MappedFieldBase.php, line 65

Class

MappedFieldBase
Provides a class for mapped fields.

Namespace

Drupal\pardot

Code

public function setPluginType(string $plugin_type) {
  $this->pluginType = $plugin_type;
  return $this;
}