You are here

public function PrintableFormatInterface::setContent in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x 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 35

Class

PrintableFormatInterface
Defines an interface for printable format plugins.

Namespace

Drupal\printable\Plugin

Code

public function setContent(array $content);