Markup.php 675 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Drupal\Core\Render;
  3. use Drupal\Component\Render\MarkupInterface;
  4. use Drupal\Component\Render\MarkupTrait;
  5. /**
  6. * Defines an object that passes safe strings through the render system.
  7. *
  8. * This object should only be constructed with a known safe string. If there is
  9. * any risk that the string contains user-entered data that has not been
  10. * filtered first, it must not be used.
  11. *
  12. * @internal
  13. * This object is marked as internal because it should only be used whilst
  14. * rendering.
  15. *
  16. * @see \Drupal\Core\Template\TwigExtension::escapeFilter
  17. * @see \Twig_Markup
  18. */
  19. final class Markup implements MarkupInterface, \Countable {
  20. use MarkupTrait;
  21. }