public function ModifyHtmlEventTest::setHtml in Tome 8
Emulates the setHtml() listener.
Parameters
\Drupal\tome_static\Event\ModifyHtmlEvent $event: The modify HTML event.
File
- modules/
tome_static/ tests/ src/ Kernel/ ModifyHtmlEventTest.php, line 87
Class
- ModifyHtmlEventTest
- Tests modify HTML event class.
Namespace
Drupal\Tests\tome_static\KernelCode
public function setHtml(ModifyHtmlEvent $event) {
$event
->setHtml('NEW-HTML');
}