You are here

public function CSSSnippet::__construct in Picture Background Formatter 8

Constructs an HtmlEscapedText object.

Parameters

$string: The string to escape. This value will be cast to a string.

File

src/Component/Render/CSSSnippet.php, line 22

Class

CSSSnippet

Namespace

Drupal\picture_background_formatter\Component\Render

Code

public function __construct($string) {
  $this->string = (string) $string;
}