' && drupal_is_front_page())) { $element['#attributes']['class'][] = 'active'; } }