You are here

function language_hierarchy_preprocess_select in Language Hierarchy 7

Preprocess select to add in aria attributes.

File

./language_hierarchy.module, line 564

Code

function language_hierarchy_preprocess_select(&$variables) {
  if (language_hierarchy_is_language_selector($variables['element'])) {
    language_hierarchy_indent_options_in_select($variables['element']);
  }
}