gtranslate.html.twig in Translate Drupal with GTranslate 8
Template for the gtranslate block Available variables:
- gtranslate_html: html of the gtranslate block.
1 theme call to gtranslate.html.twig
- GTranslateBlock::build in src/
Plugin/ Block/ GTranslateBlock.php - Builds and returns the renderable array for this block plugin.
File
templates/gtranslate.html.twigView source
- {#
- /**
- * @file
- * Template for the gtranslate block
- * Available variables:
- * - gtranslate_html: html of the gtranslate block.
- */
- #}
-
- <div class="gtranslate">
- {{ gtranslate_html|raw }}
- </div>