You are here

public function MiconIconInterface::toJson in Micon 8

Same name and namespace in other branches
  1. 2.x src/MiconIconInterface.php \Drupal\micon\MiconIconInterface::toJson()

Returns a trimmed, json encoded string of the rendered markup.

Return value

string A json encoded string.

1 method overrides MiconIconInterface::toJson()
MiconIcon::toJson in src/MiconIcon.php
Returns a trimmed, json encoded string of the rendered markup.

File

src/MiconIconInterface.php, line 136

Class

MiconIconInterface
Defines an object which can be rendered by the Render API.

Namespace

Drupal\micon

Code

public function toJson();