You are here

public function PageProcessor::content in Mini site 8

Get content of the document being processed.

Return value

string The document content as HTML.

Overrides PageProcessorInterface::content

File

src/PageProcessor.php, line 87

Class

PageProcessor
Class PageProcessor.

Namespace

Drupal\minisite

Code

public function content() {
  return $this->document
    ->saveHTML();
}