IFrameMarkup.php 662 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Drupal\media;
  3. use Drupal\Component\Render\MarkupInterface;
  4. use Drupal\Component\Render\MarkupTrait;
  5. /**
  6. * Defines an object that wraps oEmbed markup for use in an iFrame.
  7. *
  8. * This object is not constructed with a known safe string as the strings come
  9. * from an external site. It must not be used outside the Media module's oEmbed
  10. * iframe rendering.
  11. *
  12. * @internal
  13. * This object is an internal part of the oEmbed system and should only be
  14. * used in \Drupal\media\Controller\OEmbedIframeController.
  15. *
  16. * @see \Drupal\media\Controller\OEmbedIframeController
  17. */
  18. class IFrameMarkup implements MarkupInterface {
  19. use MarkupTrait;
  20. }