Mercurial > hg > cmmr2012-drupal-site
diff core/modules/big_pipe/src/Render/BigPipeMarkup.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/big_pipe/src/Render/BigPipeMarkup.php Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,24 @@ +<?php + +namespace Drupal\big_pipe\Render; + +use Drupal\Component\Render\MarkupInterface; +use Drupal\Component\Render\MarkupTrait; + +/** + * Defines an object that passes safe strings through BigPipe's render pipeline. + * + * This object should only be constructed with a known safe string. If there is + * any risk that the string contains user-entered data that has not been + * filtered first, it must not be used. + * + * @internal + * This object is marked as internal because it should only be used in the + * BigPipe render pipeline. + * + * @see \Drupal\Core\Render\Markup + */ +final class BigPipeMarkup implements MarkupInterface, \Countable { + use MarkupTrait; + +}