final class BigPipeMarkup in Drupal 9
Same name and namespace in other branches
- 8 core/modules/big_pipe/src/Render/BigPipeMarkup.php \Drupal\big_pipe\Render\BigPipeMarkup
- 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
- class \Drupal\big_pipe\Render\BigPipeMarkup implements \Drupal\big_pipe\Render\Countable, MarkupInterface uses MarkupTrait
Expanded class hierarchy of BigPipeMarkup
See also
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\RenderView source
final class BigPipeMarkup implements MarkupInterface, \Countable {
use MarkupTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkupTrait:: |
protected | property | The safe string. | |
MarkupTrait:: |
public | function | Returns the string length. | |
MarkupTrait:: |
public static | function | Creates a Markup object if necessary. | 2 |
MarkupTrait:: |
public | function | Returns a representation of the object for use in JSON serialization. | |
MarkupTrait:: |
public | function | Returns the string version of the Markup object. |