TestUiParser.php in Feeds extensible parsers 8
File
tests/modules/feeds_ex_test/src/Feeds/Parser/TestUiParser.php
View source
<?php
namespace Drupal\feeds_ex_test\Feeds\Parser;
use Drupal\feeds\FeedInterface;
use Drupal\feeds\Result\FetcherResultInterface;
use Drupal\feeds\StateInterface;
use Drupal\feeds_ex\Feeds\Parser\ParserBase;
class TestUiParser extends ParserBase {
protected function executeContext(FeedInterface $feed, FetcherResultInterface $fetcher_result, StateInterface $state) {
return [];
}
protected function executeSourceExpression($machine_name, $expression, $row) {
}
protected function validateExpression(&$expression) {
}
protected function getErrors() {
return [];
}
}
Classes
Name |
Description |
TestUiParser |
A minimal implementation of a parser for UI testing. |