You are here

public function PdfCssAlterEvent::__construct in Entity Print 8

PdfCssAlterEvent constructor.

Parameters

array $build: The renderable array.

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

File

src/Event/PdfCssAlterEvent.php, line 31

Class

PdfCssAlterEvent

Namespace

Drupal\entity_print\Event

Code

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