You are here

function social_media_links_block_info in Social Media Links Block and Field 7

Implements hook_block_info().

File

./social_media_links.module, line 50
Functions for the Social Media Links module.

Code

function social_media_links_block_info() {
  $blocks['social-media-links'] = array(
    'info' => t('Social Media Links'),
    // We cache per role, so that the edit/configure links display only if the
    // user has access.
    'cache' => DRUPAL_CACHE_PER_ROLE,
  );
  return $blocks;
}