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\KernelCode
public function &getHtml() {
throw new PrintEngineException('getHtml should never be called');
}