function logged_in_block_view in Util 7
Implementation of hook_block_view(). Get the output to be displayed by the block.
Parameters
$delta - integer for the block number.:
Return value
array containing the title ("subject") and content of the block.
File
- contribs/
logged_in/ logged_in.module, line 34 - Adds a "Logged In As" block.
Code
function logged_in_block_view($delta) {
$block = array();
switch ($delta) {
case 'logged_in':
$block = array(
'content' => _logged_in_data(),
);
break;
}
return $block;
}