protected function XmlParser::getTidyConfig in Feeds extensible parsers 8
Returns the options for phptidy.
Return value
array The configuration array.
See also
http://php.net/manual/en/book.tidy.php
1 call to XmlParser::getTidyConfig()
- XmlParser::prepareDocument in src/
Feeds/ Parser/ XmlParser.php - Prepares the DOM document.
2 methods override XmlParser::getTidyConfig()
- HtmlParser::getTidyConfig in src/
Feeds/ Parser/ HtmlParser.php - Returns the options for phptidy.
- QueryPathHtmlParser::getTidyConfig in src/
Feeds/ Parser/ QueryPathHtmlParser.php - Returns the options for phptidy.
File
- src/
Feeds/ Parser/ XmlParser.php, line 418
Class
- XmlParser
- Defines a XML parser using XPath.
Namespace
Drupal\feeds_ex\Feeds\ParserCode
protected function getTidyConfig() {
return [
'input-xml' => TRUE,
'output-xml' => TRUE,
'add-xml-decl' => TRUE,
'wrap' => 0,
'tidy-mark' => FALSE,
];
}