You are here

function easy_social_block_info in Easy Social 7.2

Implements hook_block_info().

File

./easy_social.module, line 617
Easy social module.

Code

function easy_social_block_info() {
  $return = array();
  $num_blocks = variable_get_value('easy_social_block_count');
  for ($i = 1; $i <= $num_blocks; ++$i) {
    $return["easy_social_block_{$i}"] = array(
      'info' => t('Easy Social Block !num', array(
        '!num' => $i,
      )),
      'cache' => DRUPAL_CACHE_PER_PAGE,
    );
  }
  return $return;
}