You are here

public function ExternalPluginFormBase::setPlugin in Feeds 8.3

Sets the plugin for this object.

Parameters

\Drupal\Component\Plugin\FeedsPluginInterface $plugin: The plugin.

Overrides PluginAwareInterface::setPlugin

File

src/Plugin/Type/ExternalPluginFormBase.php, line 29

Class

ExternalPluginFormBase
Base class for Feeds plugins that have external configuration forms.

Namespace

Drupal\feeds\Plugin\Type

Code

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