public function HtmlAssetInliner::__construct in TMGMT Translator Smartling 8.2
Same name and namespace in other branches
- 8.4 src/Context/HtmlAssetInliner.php \Drupal\tmgmt_smartling\Context\HtmlAssetInliner::__construct()
- 8 src/Context/HtmlAssetInliner.php \Drupal\tmgmt_smartling\Context\HtmlAssetInliner::__construct()
- 8.3 src/Context/HtmlAssetInliner.php \Drupal\tmgmt_smartling\Context\HtmlAssetInliner::__construct()
File
- src/
Context/ HtmlAssetInliner.php, line 40
Class
Namespace
Drupal\tmgmt_smartling\ContextCode
public function __construct() {
# suppress DOM parsing errors
libxml_use_internal_errors(TRUE);
$this->dom = new \DOMDocument();
$this->dom->preserveWhiteSpace = FALSE;
# avoid strict error checking
$this->dom->strictErrorChecking = FALSE;
}