You are here

function template_preprocess_addthis in AddThis 7.4

Implements hook_preprocess().

For theme_addthis.

File

./addthis.module, line 172

Code

function template_preprocess_addthis(&$variables) {
  if (isset($variables[0]) && count($variables) == 3) {
    $variables['#display'] = $variables[0];
    unset($variables[0]);
  }
}