protected function PrintableFormatBase::getOutput in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/Plugin/PrintableFormatBase.php \Drupal\printable\Plugin\PrintableFormatBase::getOutput()
Get the HTML output of the whole page and pass to the response object.
Return value
string The HTML string representing the output of this printable format.
1 call to PrintableFormatBase::getOutput()
- PrintableFormatBase::getResponse in src/
Plugin/ PrintableFormatBase.php - Returns the response object for this format plugin.
File
- src/
Plugin/ PrintableFormatBase.php, line 212
Class
- PrintableFormatBase
- Provides a base class for Filter plugins.
Namespace
Drupal\printable\PluginCode
protected function getOutput() {
$content = $this
->buildContent();
// @todo add a renderer service over here.
return $this
->extractLinks(render($content));
}