You are here

class JsonMarkup in JSON Field 8

Provides a markup render plugin that supports JSON.

@package Drupal\json_field

Hierarchy

Expanded class hierarchy of JsonMarkup

1 file declares its use of JsonMarkup
JSONText.php in src/Element/JSONText.php

File

src/JsonMarkup.php, line 13

Namespace

Drupal\json_field
View source
class JsonMarkup implements MarkupInterface {
  use MarkupTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
MarkupTrait::$string protected property The safe string.
MarkupTrait::count public function Returns the string length.
MarkupTrait::create public static function Creates a Markup object if necessary. 2
MarkupTrait::jsonSerialize public function Returns a representation of the object for use in JSON serialization.
MarkupTrait::__toString public function Returns the string version of the Markup object.