OutputStrategyInterface

Provides an output strategy that formats HTML strings for a given context.

Output strategies assist in transforming HTML strings into strings that are appropriate for a given context (e.g. plain-text), through performing the relevant formatting. No sanitization is applied.

Hierarchy

File

core/lib/Drupal/Component/Render/OutputStrategyInterface.php, line 12

Namespace

Drupal\Component\Render

Members

Name Modifiers Type Description
OutputStrategyInterface::renderFromHtml public static function Transforms a given HTML string into to a context-appropriate output string.
doc_Drupal
2016-10-29 09:32:41
Comments
Leave a Comment

Please login to continue.