You are here

function shib_auth_block_configure in Shibboleth Authentication 7.4

Implements hook_block_configure().

File

./shib_auth.module, line 1138
Drupal Shibboleth authentication module.

Code

function shib_auth_block_configure($delta = '') {
  $form = array();
  switch ($delta) {
    case 'login_box':
      $form['shib_auth_link_text'] = array(
        '#type' => 'textfield',
        '#title' => t('Text of the auth link'),
        '#require' => TRUE,
        '#size' => 60,
        '#description' => t('Here you can replace the text of the authentication link.'),
        '#default_value' => shib_auth_config('link_text'),
      );
  }
  return $form;
}