Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
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