You are here

public function CSSSnippet::__toString in Background Image Field 8

Returns markup.

Return value

string The markup.

Overrides MarkupInterface::__toString

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

File

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

Class

CSSSnippet
This class will clean up the css string we have created in the formatter.

Namespace

Drupal\bg_img_field\Component\Render

Code

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