Same filename in this branch
  1. 10 core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
  2. 10 core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig
  3. 10 core/themes/stable9/templates/admin/config_translation_manage_form_element.html.twig
Same filename and directory in other branches
  1. 8.9.x core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
  2. 9 core/modules/config_translation/templates/config_translation_manage_form_element.html.twig

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