function forum_block_configure

Implements hook_block_configure().

File

modules/forum/forum.module, line 662

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.