"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/media/src/IFrameMarkup.php" (26 Nov 2020, 662 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "IFrameMarkup.php" see the Fossies "Dox" file reference documentation.

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