You are here

final class ViewsRenderPipelineMarkup in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Render/ViewsRenderPipelineMarkup.php \Drupal\views\Render\ViewsRenderPipelineMarkup

Defines an object that passes safe strings through the Views render system.

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 Views render pipeline.

Hierarchy

Expanded class hierarchy of ViewsRenderPipelineMarkup

See also

\Drupal\Core\Render\Markup

10 files declare their use of ViewsRenderPipelineMarkup
Boolean.php in core/modules/views/src/Plugin/views/field/Boolean.php
Custom.php in core/modules/views/src/Plugin/views/field/Custom.php
FieldPluginBase.php in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
HandlerBase.php in core/modules/views/src/Plugin/views/HandlerBase.php
MediaLibrarySelectForm.php in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php

... See full list

File

core/modules/views/src/Render/ViewsRenderPipelineMarkup.php, line 21

Namespace

Drupal\views\Render
View source
final class ViewsRenderPipelineMarkup 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.