You are here

function sexybookmarks_block_current_view in Share Buttons, Related Posts, Content Analytics - Shareaholic 7

Same name and namespace in other branches
  1. 7.2 includes/block.inc \sexybookmarks_block_current_view()

File

includes/block.inc, line 66
Block module integration.

Code

function sexybookmarks_block_current_view() {
  $profile = variable_get('sexybookmarks_block_current_profile', 'default');
  if (!empty($profile)) {
    return array(
      'subject' => t('SexyBookmarks'),
      'content' => theme('sexybookmarks', array(
        'profile' => $profile,
        'id' => 'block-sexybookmarks-current',
      )),
    );
  }
}