Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HtmlEscapedText.php

function HtmlEscapedText::jsonSerialize

File

core/lib/Drupal/Component/Render/HtmlEscapedText.php, line 51

Class

HtmlEscapedText
Escapes HTML syntax characters to HTML entities for display in markup.

Namespace

Drupal\Component\Render

Code

public function jsonSerialize() : string {
    return $this->__toString();
}
RSS feed
Powered by Drupal