You are here

function welcome_username_block_info in Welcome Username 7

Implements hook_block_info().

File

./welcome_username.module, line 11
Show a simple login form to anonymous users and a 'Welcome username'|logout to authenticated users.

Code

function welcome_username_block_info() {
  $blocks = array();
  $blocks['welcome_username'] = array(
    'info' => t("Welcome Username Login/Logout"),
    'cache' => DRUPAL_NO_CACHE,
  );
  return $blocks;
}