You are here

function forum_block_configure in Drupal 7

Implements hook_block_configure().

File

modules/forum/forum.module, line 662
Provides discussion forums.

Code

function forum_block_configure($delta = '') {
  $form['forum_block_num_' . $delta] = array(
    '#type' => 'select',
    '#title' => t('Number of topics'),
    '#default_value' => variable_get('forum_block_num_' . $delta, '5'),
    '#options' => drupal_map_assoc(range(2, 20)),
  );
  return $form;
}