simple-iframe.html.twig in Simple iframe 8
<div class="simple-iframe"> <iframe src="{{- url -}}" width="{{- width -}}" height="{{- height -}}">{{ 'Your browser does not support iframes'|t }}</iframe> </div>
1 theme call to simple-iframe.html.twig
- SimpleIframeFormatterType::viewElements in src/
Plugin/ Field/ FieldFormatter/ SimpleIframeFormatterType.php - Builds a renderable array for a field value.
File
templates/simple-iframe.html.twigView source
- <div class="simple-iframe">
- <iframe src="{{- url -}}" width="{{- width -}}" height="{{- height -}}">{{ 'Your browser does not support iframes'|t }}</iframe>
- </div>