You are here

function constant_contact_block_info in Constant Contact 7.3

Implements hook_block_info().

File

./constant_contact.module, line 832

Code

function constant_contact_block_info() {
  $blocks = array();
  $total_blocks_available = variable_get('cc_total_blocks_available', CC_BLOCK_COUNT);
  for ($i = 1; $i <= $total_blocks_available; ++$i) {
    $blocks[$i] = array(
      'info' => t("Constant Contact Signup Form {$i}"),
      'cache' => DRUPAL_NO_CACHE,
      'pages' => 'user*',
      'visibility' => BLOCK_VISIBILITY_NOTLISTED,
    );
  }
  return $blocks;
}