You are here

public function RendererInterface::generateHtml in Entity Print 8.2

Generates the HTML from the renderable array of entities.

Parameters

array $entities: An array of entities we're rendering.

array $render: A renderable array.

bool $use_default_css: TRUE if we should inject our default CSS otherwise FALSE.

bool $optimize_css: TRUE if we should compress the CSS otherwise FALSE.

Return value

string The generated HTML.

1 method overrides RendererInterface::generateHtml()
RendererBase::generateHtml in src/Renderer/RendererBase.php
Generates the HTML from the renderable array of entities.

File

src/Renderer/RendererInterface.php, line 36

Class

RendererInterface
The renderer interface.

Namespace

Drupal\entity_print\Renderer

Code

public function generateHtml(array $entities, array $render, $use_default_css, $optimize_css);