You are here

function google_appliance_preprocess_block in Google Search Appliance 7

Implements hook_preprocess_block().

Used to target onebox links for advanced search click tracking.

File

theme/google_appliance.theme.inc, line 599
theme registry and preprocess functions for the default templates

Code

function google_appliance_preprocess_block(&$vars) {
  if (isset($vars['elements']['#onebox'])) {
    $vars['classes_array'][] = 'google-appliance-onebox-module';
  }
}