You are here

function simpleads_block_info in SimpleAds 7.2

Same name and namespace in other branches
  1. 7 simpleads.module \simpleads_block_info()

Implements hook_block_info().

File

includes/blocks.inc, line 23
SimpleAds blocks.

Code

function simpleads_block_info() {
  $blocks = array();
  foreach (_simpleads_get_blocks_list() as $delta => $block) {
    $blocks[$delta] = array(
      'info' => t('Advertisement block: @name', array(
        '@name' => $block['name'],
      )),
    );
  }
  return $blocks;
}