config_translation_manage_form_element.html.twig

Same filename in this branch
  1. 8.9.x core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig
  2. 8.9.x core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/admin/config_translation_manage_form_element.html.twig
  2. 9 core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig
  3. 9 core/themes/stable/templates/admin/config_translation_manage_form_element.html.twig
  4. 9 core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
  5. 10 core/themes/stable9/templates/admin/config_translation_manage_form_element.html.twig
  6. 10 core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig
  7. 10 core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
  8. 11.x core/themes/stable9/templates/admin/config_translation_manage_form_element.html.twig
  9. 11.x core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig
  10. 11.x core/modules/config_translation/templates/config_translation_manage_form_element.html.twig

Theme override 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/themes/stable/templates/admin/config_translation_manage_form_element.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  14. <div class="translation-set clearfix">
  15. <div class="layout-column layout-column--half translation-set__source">
  16. {{ element.source }}
  17. </div>
  18. <div class="layout-column layout-column--half translation-set__translated">
  19. {{ element.translation }}
  20. </div>
  21. </div>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.