You are here

function block_upload_block_info in Block Upload 7

Implements hook_block_info().

File

./block_upload.module, line 41
Block Upload module.

Code

function block_upload_block_info() {
  $blocks_count = variable_get('block_upload_blocks_count', 1);
  for ($i = 1; $i <= $blocks_count; $i++) {
    $blocks['block_upload_' . $i] = array(
      'info' => t('Block Upload') . ' ' . $i,
    );
  }
  return $blocks;
}