Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/big_pipe/src/Render/BigPipeMarkup.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\big_pipe\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 BigPipe's render pipeline. |
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 in the |
Chris@0 | 17 * BigPipe render pipeline. |
Chris@0 | 18 * |
Chris@0 | 19 * @see \Drupal\Core\Render\Markup |
Chris@0 | 20 */ |
Chris@0 | 21 final class BigPipeMarkup implements MarkupInterface, \Countable { |
Chris@0 | 22 use MarkupTrait; |
Chris@0 | 23 |
Chris@0 | 24 } |