You are here

final class BigPipeMarkup in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/big_pipe/src/Render/BigPipeMarkup.php \Drupal\big_pipe\Render\BigPipeMarkup
  2. 10 core/modules/big_pipe/src/Render/BigPipeMarkup.php \Drupal\big_pipe\Render\BigPipeMarkup

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.

Hierarchy

Expanded class hierarchy of BigPipeMarkup

See also

\Drupal\Core\Render\Markup

3 files declare their use of BigPipeMarkup
BigPipePlaceholderTestCases.php in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
BigPipeRegressionTestController.php in core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php
BigPipeTestController.php in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php

File

core/modules/big_pipe/src/Render/BigPipeMarkup.php, line 21

Namespace

Drupal\big_pipe\Render
View source
final class BigPipeMarkup implements MarkupInterface, \Countable {
  use MarkupTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
MarkupTrait::$string protected property The safe string.
MarkupTrait::count public function Returns the string length.
MarkupTrait::create public static function Creates a Markup object if necessary. 2
MarkupTrait::jsonSerialize public function Returns a representation of the object for use in JSON serialization.
MarkupTrait::__toString public function Returns the string version of the Markup object.