You are here

config_translation_manage_form_element.html.twig in Drupal 10

Default theme implementation for a form element in config_translation.

Available variables:

  • element: Array that represents the element shown in the form.

    • source: The source of the translation.
    • translation: The translation for the target language.

See also

template_preprocess()

File

core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a form element in config_translation.
  5. *
  6. * Available variables:
  7. * - element: Array that represents the element shown in the form.
  8. * - source: The source of the translation.
  9. * - translation: The translation for the target language.
  10. *
  11. * @see template_preprocess()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <div class="translation-set clearfix">
  17. <div class="layout-column layout-column--half translation-set__source">
  18. {{ element.source }}
  19. </div>
  20. <div class="layout-column layout-column--half translation-set__translated">
  21. {{ element.translation }}
  22. </div>
  23. </div>

Related topics