4 * Default theme implementation for a language negotiation configuration form.
7 * - language_types: A list of language negotiation types. Each language type
8 * contains the following:
9 * - type: The machine name for the negotiation type.
10 * - title: The language negotiation type name.
11 * - description: A description for how the language negotiation type
13 * - configurable: A radio element to toggle the table.
14 * - table: A draggable table for the language detection methods of this type.
15 * - children: Remaining form items for the group.
16 * - attributes: A list of HTML attributes for the wrapper element.
17 * - children: Remaining form items for all groups.
19 * @see template_preprocess_language_negotiation_configure_form()
24 {% for language_type in language_types %}
26 set language_classes = [
29 'table-language-group',
30 'table-' ~ language_type.type ~ '-wrapper',
33 <div{{ language_type.attributes.addClass(language_classes) }}>
34 <h2>{{ language_type.title }}</h2>
35 <div class="description">{{ language_type.description }}</div>
36 {{ language_type.configurable }}
37 {{ language_type.table }}
38 {{ language_type.children }}