You are here

function mailing_list_block_configure in Mailing List 7

Implement hook_block_configure();

File

./mailing_list.module, line 150
Minimalistic mailing list module.

Code

function mailing_list_block_configure($delta = '') {
  $form['mailing_list_show_name_' . $delta] = array(
    '#type' => 'checkbox',
    '#title' => t('Show name field in subscription form'),
    '#default_value' => variable_get('mailing_list_show_name_' . $delta, 1),
    '#description' => t('Whether or not to show a text field in the subscription form that this block displays, letting a subscriber enter his or her name. If the name field is shown, it also becomes required.'),
  );
  return $form;
}