You are here

public function PrintHtmlAlterEvent::getHtml in Entity Print 8.2

Gets the rendered HTML.

Return value

string The HTML string.

1 method overrides PrintHtmlAlterEvent::getHtml()
PrintHtmlAlterTestEvent::getHtml in tests/src/Kernel/PrintHtmlAlterTestEvent.php
Throws an exception so we can test PostRenderSubscriber.

File

src/Event/PrintHtmlAlterEvent.php, line 45

Class

PrintHtmlAlterEvent
An event to alter the HTML string.

Namespace

Drupal\entity_print\Event

Code

public function &getHtml() {
  return $this->html;
}