Mercurial > hg > isophonics-drupal-site
annotate core/modules/media/src/IFrameMarkup.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
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 } |