function profile_block_info

7.x profile.module profile_block_info()

Implements hook_block_info().

File

drupal-7.x/modules/profile/profile.module, line 139
Support for configurable user profiles.

Code

function profile_block_info() {
  $blocks['author-information']['info'] = t('Author information');
  $blocks['author-information']['cache'] = DRUPAL_CACHE_PER_PAGE | DRUPAL_CACHE_PER_ROLE;
  return $blocks;
}