You are here

public function FeedType::getParser in Feeds 8.3

Returns the configured parser for this feed type.

Return value

\Drupal\feeds\Plugin\Type\Parser\ParserInterface The parser associated with this feed type.

Overrides FeedTypeInterface::getParser

File

src/Entity/FeedType.php, line 428

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function getParser() {
  return $this
    ->getPlugin('parser');
}