protected function MinifyHTMLExit::minifyhtmlPlaceholderCallbackPre in Minify Source HTML 8
Helper function to add place holder for <pre> tag.
Parameters
array $matches: Matches from initial preg_replace().
Return value
string The placeholder string.
File
- src/
EventSubscriber/ MinifyHTMLExit.php, line 216
Class
- MinifyHTMLExit
- Minifies the HTML of the response.
Namespace
Drupal\minifyhtml\EventSubscriberCode
protected function minifyhtmlPlaceholderCallbackPre(array $matches) {
return $this
->minifyPlaceholderReplace(trim($matches[0]));
}