media-oembed-iframe.html.twig

Same filename in this branch
  1. 10 core/themes/stable9/templates/content/media-oembed-iframe.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/content/media-oembed-iframe.html.twig
  2. 9 core/themes/stable/templates/content/media-oembed-iframe.html.twig
  3. 9 core/modules/media/templates/media-oembed-iframe.html.twig
  4. 8.9.x core/themes/stable/templates/content/media-oembed-iframe.html.twig
  5. 8.9.x core/modules/media/templates/media-oembed-iframe.html.twig
  6. 11.x core/themes/stable9/templates/content/media-oembed-iframe.html.twig
  7. 11.x core/modules/media/templates/media-oembed-iframe.html.twig

Default theme implementation to display an oEmbed resource in an iframe.

1 theme call to media-oembed-iframe.html.twig
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.

File

core/modules/media/templates/media-oembed-iframe.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display an oEmbed resource in an iframe.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <css-placeholder token="{{ placeholder_token }}">
  13. </head>
  14. <body style="margin: 0">
  15. {{ media|raw }}
  16. </body>
  17. </html>

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.