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/themes/stable/templates/admin/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

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


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