You are here

public function CSSSnippet::jsonSerialize in Background Image Field 8

File

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

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 jsonSerialize() {
  return $this
    ->__toString();
}