function facebook_pull_preprocess_facebook_pull_notes in Facebook Pull 7
Same name and namespace in other branches
- 7.3 facebook_pull.module \facebook_pull_preprocess_facebook_pull_notes()
- 7.2 facebook_pull.module \facebook_pull_preprocess_facebook_pull_notes()
Implements hook_preprocess_HOOK();
File
- ./
facebook_pull.module, line 337
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";
}