Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for a language negotiation configuration form. Chris@0: * Chris@0: * Available variables: Chris@0: * - language_types: A list of language negotiation types. Each language type Chris@0: * contains the following: Chris@0: * - type: The machine name for the negotiation type. Chris@0: * - title: The language negotiation type name. Chris@0: * - description: A description for how the language negotiation type Chris@0: * operates. Chris@0: * - configurable: A radio element to toggle the table. Chris@0: * - table: A draggable table for the language detection methods of this type. Chris@0: * - children: Remaining form items for the group. Chris@0: * - attributes: A list of HTML attributes for the wrapper element. Chris@0: * - children: Remaining form items for all groups. Chris@0: * Chris@0: * @see template_preprocess_language_negotiation_configure_form() Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@0: {% for language_type in language_types %} Chris@0: {% Chris@0: set language_classes = [ Chris@0: 'js-form-item', Chris@0: 'form-item', Chris@0: 'table-language-group', Chris@0: 'table-' ~ language_type.type ~ '-wrapper', Chris@0: ] Chris@0: %} Chris@0: