You are here

function tagadelic_block_configure in Tagadelic 7

Implements hook_block_configure().

File

./tagadelic.module, line 393

Code

function tagadelic_block_configure($delta = '') {
  $voc = taxonomy_vocabulary_load($delta);
  $form = array();
  $form['tags'] = array(
    '#type' => 'textfield',
    '#title' => t('Tags to show'),
    '#default_value' => variable_get('tagadelic_block_tags_' . $delta, 12),
    '#maxlength' => 3,
    '#description' => t('The number of tags to show in this block.'),
  );
  return $form;
}