Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Core/Render/Markup.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\Core\Render; |
Chris@0 | 4 |
Chris@0 | 5 use Drupal\Component\Render\MarkupInterface; |
Chris@0 | 6 use Drupal\Component\Render\MarkupTrait; |
Chris@0 | 7 |
Chris@0 | 8 /** |
Chris@0 | 9 * Defines an object that passes safe strings through the render system. |
Chris@0 | 10 * |
Chris@0 | 11 * This object should only be constructed with a known safe string. If there is |
Chris@0 | 12 * any risk that the string contains user-entered data that has not been |
Chris@0 | 13 * filtered first, it must not be used. |
Chris@0 | 14 * |
Chris@0 | 15 * @internal |
Chris@0 | 16 * This object is marked as internal because it should only be used whilst |
Chris@0 | 17 * rendering. |
Chris@0 | 18 * |
Chris@0 | 19 * @see \Drupal\Core\Template\TwigExtension::escapeFilter |
Chris@0 | 20 * @see \Twig_Markup |
Chris@0 | 21 */ |
Chris@0 | 22 final class Markup implements MarkupInterface, \Countable { |
Chris@0 | 23 use MarkupTrait; |
Chris@0 | 24 |
Chris@0 | 25 } |