Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Render/ViewsRenderPipelineMarkup.php \Drupal\views\Render\ViewsRenderPipelineMarkup
  2. 9 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

4 files declare their use of ViewsRenderPipelineMarkup
Custom.php in core/modules/views/src/Plugin/views/field/Custom.php
MediaLibrarySelectForm.php in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
ViewPageController.php in core/modules/views/src/Routing/ViewPageController.php
ViewsFormMainForm.php in core/modules/views/src/Form/ViewsFormMainForm.php

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
MarkupTrait::create public static function Creates a Markup object if necessary. 2
MarkupTrait::jsonSerialize public function
MarkupTrait::__toString public function Returns the string version of the Markup object.