You are here

public function FeedTypeInterface::getSourcePlugin in Feeds 8.3

Returns the source plugin for the given source if it exists.

Parameters

string $source: The source to get a plugin for.

Return value

\Drupal\feeds\Plugin\Type\Source\SourceInterface|false A source plugin instance, if there is one. False otherwise.

1 method overrides FeedTypeInterface::getSourcePlugin()
FeedType::getSourcePlugin in src/Entity/FeedType.php
@todo Use plugin bag.

File

src/FeedTypeInterface.php, line 110

Class

FeedTypeInterface
Provides an interface defining a feeds feed type entity.

Namespace

Drupal\feeds

Code

public function getSourcePlugin($source);