You are here

gtranslate.html.twig in Translate Drupal with GTranslate 8

Template for the gtranslate block Available variables:

  • gtranslate_html: html of the gtranslate block.

File

templates/gtranslate.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template for the gtranslate block
  5. * Available variables:
  6. * - gtranslate_html: html of the gtranslate block.
  7. */
  8. #}
  9. <div class="gtranslate">
  10. {{ gtranslate_html|raw }}
  11. </div>