You are here

function juicerio_block_info in Juicer - Social Media Feed Aggregator 7

Implements hook_block_info().

File

./juicerio.module, line 92
Module file for the Juicer Integration module.

Code

function juicerio_block_info() {
  $count = variable_get('juicerio_blocks', 1);
  for ($delta = 1; $delta <= $count; $delta++) {
    $info = t('Juicer Embed Feed');
    if ($delta > 1) {
      $info .= ' ' . $delta;
    }
    $blocks['juicerio_' . $delta] = array(
      'info' => $info,
      'cache' => DRUPAL_NO_CACHE,
    );
  }
  return $blocks;
}