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
- interface \Drupal\Component\Render\OutputStrategyInterface
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. |
Please login to continue.