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