You are here

public function FeedsYouTubeFetcherFeedForm::setPlugin in Feeds: YouTube Parser 8

Sets the plugin for this object.

Parameters

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

Overrides ExternalPluginFormBase::setPlugin

File

src/Feeds/Fetcher/Form/FeedsYouTubeFetcherFeedForm.php, line 59

Class

FeedsYouTubeFetcherFeedForm
Provides a form on the feed edit page for the FeedsYouTubeFetcher.

Namespace

Drupal\feeds_youtube\Feeds\Fetcher\Form

Code

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