annotate 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
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 }