You are here

function fb_social_url in Facebook social plugins integration 6

Same name and namespace in other branches
  1. 6.2 fb_social.module \fb_social_url()
  2. 7.2 fb_social.module \fb_social_url()

Based on the user settings return the aliased / unaliased version of a given $url

12 calls to fb_social_url()
fb_social_comments_block in modules/fb_social_comments/fb_social_comments.module
Implementation of hook_block
fb_social_comments_nodeapi in modules/fb_social_comments/fb_social_comments.module
Implementation of hook_nodeapi().
fb_social_like_block in modules/fb_social_like/fb_social_like.module
Implementation of hook_block
fb_social_like_handler_field_like::render in modules/fb_social_like/views/fb_social_like_handler_field_like.inc
Render the fb like field
fb_social_like_link in modules/fb_social_like/fb_social_like.module
Implementation of hook_link

... See full list

File

./fb_social.module, line 299
Common settings for all fb social plugins

Code

function fb_social_url($url = NULL) {
  $aliased = variable_get('fb_social_urls_mode', 0);
  return url($url, array(
    'absolute' => TRUE,
    'alias' => $aliased,
  ));
}