Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Render/Markup.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Core\Render; | |
4 | |
5 use Drupal\Component\Render\MarkupInterface; | |
6 use Drupal\Component\Render\MarkupTrait; | |
7 | |
8 /** | |
9 * Defines an object that passes safe strings through the render system. | |
10 * | |
11 * This object should only be constructed with a known safe string. If there is | |
12 * any risk that the string contains user-entered data that has not been | |
13 * filtered first, it must not be used. | |
14 * | |
15 * @internal | |
16 * This object is marked as internal because it should only be used whilst | |
17 * rendering. | |
18 * | |
19 * @see \Drupal\Core\Template\TwigExtension::escapeFilter | |
20 * @see \Twig_Markup | |
21 * @see \Drupal\Component\Utility\SafeMarkup | |
22 */ | |
23 final class Markup implements MarkupInterface, \Countable { | |
24 use MarkupTrait; | |
25 | |
26 } |