You are here

function download_count_block_configure in Download Count 7.3

Same name and namespace in other branches
  1. 7.2 download_count.module \download_count_block_configure()

Implements hook_block_configure().

File

./download_count.module, line 267
Tracks file downloads for files stored in the drupal files table using the private files setting or custom private filefield.

Code

function download_count_block_configure($delta) {
  $form['download_count_' . $delta . '_block_limit'] = array(
    '#type' => 'textfield',
    '#title' => t('Number of items to display'),
    '#size' => 5,
    '#default_value' => variable_get('download_count_' . $delta . '_block_limit', 10),
  );
  return $form;
}