You are here

function _commons_profile_block_list in Drupal Commons 6.2

Declare all available blocks

1 string reference to '_commons_profile_block_list'
_commons_profile_block in modules/features/commons_profile/commons_profile.blocks.inc
Callback for hook_block_view()

File

modules/features/commons_profile/commons_profile.blocks.inc, line 31
Block functions

Code

function _commons_profile_block_list() {
  $blocks = array();
  $blocks['find_new_friends'] = array(
    'info' => t('Find new friends'),
    'cache' => BLOCK_CACHE_GLOBAL,
  );
  $blocks['image_links'] = array(
    'info' => t('Profile image and action links'),
    'cache' => BLOCK_NO_CACHE,
  );
  return $blocks;
}