Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Core/Render/Markup.php @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
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 * @see \Drupal\Component\Utility\SafeMarkup |
Chris@0 | 22 */ |
Chris@0 | 23 final class Markup implements MarkupInterface, \Countable { |
Chris@0 | 24 use MarkupTrait; |
Chris@0 | 25 |
Chris@0 | 26 } |