You are here

function _logged_in_block_view in Util 6.3

Same name and namespace in other branches
  1. 6.2 contribs/logged_in/logged_in.module \_logged_in_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.

1 call to _logged_in_block_view()
logged_in_block in contribs/logged_in/logged_in.module
Implementation of hook_block().

File

contribs/logged_in/logged_in.module, line 52
Adds a "Logged In As" block.

Code

function _logged_in_block_view($delta) {
  $block = array();
  switch ($delta) {
    case 0:
      $block = array(
        'content' => _logged_in_data(),
      );
      break;
  }
  return $block;
}