function _user_relationship_blocks_view_pending in User Relationships 5.2
Show the pending relationships block
File
- plugins/
user_relationship_blocks/ user_relationship_blocks.module, line 207
Code
function _user_relationship_blocks_view_pending($account, $block_type, $rtype, $extra) {
if (!$account) {
return;
}
return array(
'subject' => t('Pending Relationships'),
'content' => theme('user_relationship_block_pending', $account, $block_type, $rtype, $extra),
);
}