Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/media/src/IFrameMarkup.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
rev | line source |
---|---|
Chris@4 | 1 <?php |
Chris@4 | 2 |
Chris@4 | 3 namespace Drupal\media; |
Chris@4 | 4 |
Chris@4 | 5 use Drupal\Component\Render\MarkupInterface; |
Chris@4 | 6 use Drupal\Component\Render\MarkupTrait; |
Chris@4 | 7 |
Chris@4 | 8 /** |
Chris@4 | 9 * Defines an object that wraps oEmbed markup for use in an iFrame. |
Chris@4 | 10 * |
Chris@4 | 11 * This object is not constructed with a known safe string as the strings come |
Chris@4 | 12 * from an external site. It must not be used outside the Media module's oEmbed |
Chris@4 | 13 * iframe rendering. |
Chris@4 | 14 * |
Chris@4 | 15 * @internal |
Chris@4 | 16 * This object is an internal part of the oEmbed system and should only be |
Chris@4 | 17 * used in \Drupal\media\Controller\OEmbedIframeController. |
Chris@4 | 18 * |
Chris@4 | 19 * @see \Drupal\media\Controller\OEmbedIframeController |
Chris@4 | 20 */ |
Chris@4 | 21 class IFrameMarkup implements MarkupInterface { |
Chris@4 | 22 use MarkupTrait; |
Chris@4 | 23 |
Chris@4 | 24 } |