abstract protected function ParserBase::setup in Feeds XPath Parser 8
Classes that use ParserBase must implement this.
Parameters
array $feed_config: The configuration for the source.
\Drupal\feeds\FetcherResultInterface $fetcher_result: A FetcherResultInterface object.
Return value
\DOMDocument The DOMDocument to perform XPath queries on.
1 call to ParserBase::setup()
- ParserBase::parse in lib/
Drupal/ feeds_xpathparser/ ParserBase.php
2 methods override ParserBase::setup()
- XPathHTMLParser::setup in lib/
Drupal/ feeds_xpathparser/ Plugin/ feeds/ Parser/ XPathHTMLParser.php - Classes that use ParserBase must implement this.
- XPathXMLParser::setup in lib/
Drupal/ feeds_xpathparser/ Plugin/ feeds/ Parser/ XPathXMLParser.php - Classes that use ParserBase must implement this.
File
- lib/
Drupal/ feeds_xpathparser/ ParserBase.php, line 54 - Contains \Drupal\feeds_xpathparser\ParserBase.
Class
- ParserBase
- Base class for the HTML and XML parsers.
Namespace
Drupal\feeds_xpathparserCode
protected abstract function setup(array $feed_config, FetcherResultInterface $fetcher_result);