You are here

public function PdfHtmlAlterEvent::__construct in Entity Print 8

PdfHtmlAlterEvent constructor.

Parameters

string $html: The generated HTML.

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

File

src/Event/PdfHtmlAlterEvent.php, line 31

Class

PdfHtmlAlterEvent

Namespace

Drupal\entity_print\Event

Code

public function __construct(&$html, $entities) {
  $this->html =& $html;
  $this->entities = $entities;
}