You are here

function login_shadowbox_block_configure in Shadowbox 7.4

Implementation of hook_block_configure()

File

login_shadowbox/login_shadowbox.module, line 126

Code

function login_shadowbox_block_configure($delta = '') {
  $form = array();
  if ($delta == 'login_shadowbox_login_block') {
    $form['login_shadowbox_login_block_visibility'] = array(
      '#type' => 'checkbox',
      '#title' => t('Show when logged'),
      '#default_value' => variable_get('login_shadowbox_login_block_visibility', 0),
      '#description' => t('Check this box if you want to show shadowbox login block with a logout link when user is logged.'),
    );
  }
  return $form;
}