HtmlEscapedText

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

This class can be used to provide theme engine-like late escaping functionality.

Hierarchy

Related topics

Sanitization functions
Functions to sanitize values.

File

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

Namespace

Drupal\Component\Render

Members

Name Modifiers Type Description
HtmlEscapedText::$string protected property The string to escape.
HtmlEscapedText::count public function
HtmlEscapedText::jsonSerialize public function
HtmlEscapedText::__construct public function Constructs an HtmlEscapedText object.
HtmlEscapedText::__toString public function Returns markup. Overrides MarkupInterface::__toString
doc_Drupal
2016-10-29 09:18:46
Comments
Leave a Comment

Please login to continue.