You are here

public function FeedsXPathParserBase::configDefaults in Feeds XPath Parser 6

Same name and namespace in other branches
  1. 7 FeedsXPathParserBase.inc \FeedsXPathParserBase::configDefaults()

Define defaults.

Overrides FeedsConfigurable::configDefaults

File

./FeedsXPathParserBase.inc, line 300
Provides the abstract base class for FeedsXPathParserHTML and FeedsXPathParserXML.

Class

FeedsXPathParserBase
Base class for the HTML and XML parsers.

Code

public function configDefaults() {
  return array(
    'sources' => array(),
    'rawXML' => array(),
    'context' => '',
    'exp' => array(
      'errors' => FALSE,
      'tidy' => FALSE,
      'debug' => array(),
      'tidy_encoding' => 'UTF8',
    ),
    'allow_override' => TRUE,
  );
}