You are here

public function AuthcacheP13nHTMLContent::encode in Authenticated User Page Caching (Authcache) 7.2

Serialize a result produced by AuthcacheP13nContentBuilder::build().

Overrides AuthcacheP13nContentEncoderInterface::encode

File

modules/authcache_p13n/includes/AuthcacheP13nHTMLContent.inc, line 21
Defines content encoder for HTML.

Class

AuthcacheP13nHTMLContent
HTML content encoder.

Code

public function encode($result) {
  return (string) $result;
}