You are here

public function PrintHtmlAlterTestEvent::getHtml in Entity Print 8.2

Throws an exception so we can test PostRenderSubscriber.

Overrides PrintHtmlAlterEvent::getHtml

File

tests/src/Kernel/PrintHtmlAlterTestEvent.php, line 23

Class

PrintHtmlAlterTestEvent
A test event.

Namespace

Drupal\Tests\entity_print\Kernel

Code

public function &getHtml() {
  throw new PrintEngineException('getHtml should never be called');
}