public function PrintableFormatInterface::setContent in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/Plugin/PrintableFormatInterface.php \Drupal\printable\Plugin\PrintableFormatInterface::setContent()
Set the content for the printable response.
Parameters
array $content: A render array of the content to be output by the printable format.
1 method overrides PrintableFormatInterface::setContent()
- PrintableFormatBase::setContent in src/
Plugin/ PrintableFormatBase.php - Set the content for the printable response.
File
- src/
Plugin/ PrintableFormatInterface.php, line 36
Class
- PrintableFormatInterface
- Defines an interface for printable format plugins.
Namespace
Drupal\printable\PluginCode
public function setContent(array $content);