You are here

public function PiwikJavaScriptSnippet::__toString in Piwik Web Analytics 8

Returns markup.

Return value

string The markup.

Overrides MarkupInterface::__toString

1 call to PiwikJavaScriptSnippet::__toString()
PiwikJavaScriptSnippet::jsonSerialize in src/Component/Render/PiwikJavaScriptSnippet.php

File

src/Component/Render/PiwikJavaScriptSnippet.php, line 32

Class

PiwikJavaScriptSnippet
Formats a string for JavaScript display.

Namespace

Drupal\piwik\Component\Render

Code

public function __toString() {
  return $this->string;
}