FilteredMarkup.php

Same filename in other branches
  1. 4.x src/Render/FilteredMarkup.php

Namespace

Drupal\devel\Render

File

src/Render/FilteredMarkup.php

View source
<?php

namespace Drupal\devel\Render;

use Drupal\Component\Render\MarkupInterface;
use Drupal\Component\Render\MarkupTrait;

/**
 * Defines an object that passes safe strings through the Devel 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
 *   Devel module.
 * @see \Drupal\Core\Render\Markup
 */
final class FilteredMarkup implements MarkupInterface, \Countable {
    use MarkupTrait;

}

Classes

Title Deprecated Summary
FilteredMarkup Defines an object that passes safe strings through the Devel system.