You are here

public function ModifyHtmlEvent::setHtml in Tome 8

Sets the HTML for this page.

Parameters

string $html: The HTML.

File

modules/tome_static/src/Event/ModifyHtmlEvent.php, line 121

Class

ModifyHtmlEvent
Allows modules to modify the HTML of a static page before save.

Namespace

Drupal\tome_static\Event

Code

public function setHtml($html) {
  $this->html = $html;
}