You are here

public function FeedType::getFetcher in Feeds 8.3

Returns the configured fetcher for this feed type.

Return value

\Drupal\feeds\Plugin\Type\Fetcher\FetcherInterface The fetcher associated with this feed type.

Overrides FeedTypeInterface::getFetcher

File

src/Entity/FeedType.php, line 421

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function getFetcher() {
  return $this
    ->getPlugin('fetcher');
}