You are here

function theme_user_relationship_block in User Relationships 5.2

In our case it's a delegator block that just pulls data in from whichever function is more appropriate

You can just override the whole thing and send back whatever content you'd like

1 theme call to theme_user_relationship_block()
_user_relationship_blocks_view in plugins/user_relationship_blocks/user_relationship_blocks.module
helper function user_relationship_blocks_block delegates to when $op == 'view'

File

plugins/user_relationship_blocks/user_relationship_blocks.module, line 233

Code

function theme_user_relationship_block($account, $relationships, $block_type, $rtid, $extra) {
  return array(
    'subject' => theme('user_relationship_block_subject', $account, $rtid, $relationships),
    'content' => theme('user_relationship_block_' . ($relationships ? 'content' : 'empty'), $account, $rtid, $relationships),
  );
}