You are here

function facebook_pull_preprocess_facebook_pull_notes in Facebook Pull 7.2

Same name and namespace in other branches
  1. 7.3 facebook_pull.module \facebook_pull_preprocess_facebook_pull_notes()
  2. 7 facebook_pull.module \facebook_pull_preprocess_facebook_pull_notes()

Implements hook_preprocess_HOOK();.

File

./facebook_pull.module, line 346
Default cache time.

Code

function facebook_pull_preprocess_facebook_pull_notes(&$variables) {
  global $is_https;
  $scheme = $is_https ? 'https' : 'http';
  $variables['picture'] = "{$scheme}://graph.facebook.com/{$variables['feedid']}/picture";
}