Allow site iframing

Categories

Component ID

2745331

Component name

Allow site iframing

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

687

Component created

Component changed

Component body

Summary

Drupal 8 has a feature built into core that stops the site from being rendered within an iframe, there are good reasons for this - https://www.drupal.org/node/2514136
But sometimes you want your site in an iframe, so that's what this module does.

The code is very short, but it will be of use to site builders that want their site 'iframed' but don't want to work out how to create a module and test it.

Requirements

  • None beyond core

Configuration

  • None, just enable the module

Plans

  • It would be useful if this module enabled just some routes to be iframe-able. I haven't needed that yet, but may do at some point. Patches, suggestions & feedback very welcome.

Credits