namespace Drupal\Component\Render

Same name in other branches
  1. 11.x Drupal\Component\Render
  2. 9 Drupal\Component\Render
  3. 8.9.x Drupal\Component\Render
Object name File name Summary
FormattableMarkup core/lib/Drupal/Component/Render/FormattableMarkup.php Formats a string for HTML display by replacing variable placeholders.
HtmlEscapedText core/lib/Drupal/Component/Render/HtmlEscapedText.php Escapes HTML syntax characters to HTML entities for display in markup.
MarkupInterface core/lib/Drupal/Component/Render/MarkupInterface.php Marks an object's __toString() method as returning markup.
MarkupTrait core/lib/Drupal/Component/Render/MarkupTrait.php Implements MarkupInterface and Countable for rendered objects.
OutputStrategyInterface core/lib/Drupal/Component/Render/OutputStrategyInterface.php Provides an output strategy that formats HTML strings for a given context.
PlainTextOutput core/lib/Drupal/Component/Render/PlainTextOutput.php Provides an output strategy for transforming HTML into simple plain text.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.