function TestParser::parse

Same name in other branches
  1. 8.9.x core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php \Drupal\aggregator_test\Plugin\aggregator\parser\TestParser::parse()

Implements \Drupal\aggregator\Plugin\ParserInterface::parse().

@todo Actually test this.

Overrides DefaultParser::parse

File

core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/parser/TestParser.php, line 27

Class

TestParser
Defines a Test parser implementation.

Namespace

Drupal\aggregator_test\Plugin\aggregator\parser

Code

public function parse(FeedInterface $feed) {
    return parent::parse($feed);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.