function sexybookmarks_block_site_view in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.2
Same name and namespace in other branches
- 7 includes/block.inc \sexybookmarks_block_site_view()
File
- includes/
block.inc, line 79 - Block module integration.
Code
function sexybookmarks_block_site_view() {
$profile = variable_get('sexybookmarks_block_site_profile', 'default');
if (!empty($profile)) {
return array(
'subject' => t('SexyBookmarks'),
'content' => theme('sexybookmarks', array(
'profile' => $profile,
'url' => url(NULL, array(
'absolute' => TRUE,
)),
'title' => variable_get('site_name', 'Drupal'),
'id' => 'block-sexybookmarks-site',
)),
);
}
}