You are here

function socialfeed_block_info in Social Feed 7.2

Same name and namespace in other branches
  1. 7 socialfeed.module \socialfeed_block_info()

Implements hook_block_info().

File

./socialfeed.module, line 102
Provide Facebook, Twitter and Instagram.

Code

function socialfeed_block_info() {
  $blocks = [];
  $blocks['facebook_latest_feed'] = [
    'info' => t('Social Feed Facebook'),
    'cache' => DRUPAL_CACHE_CUSTOM,
  ];
  $blocks['twitter_latest_feed'] = [
    'info' => t('Social Feed Twitter'),
    'cache' => DRUPAL_CACHE_CUSTOM,
  ];
  $blocks['instagram_latest_feed'] = [
    'info' => t('Social Feed Instagram'),
    'cache' => DRUPAL_CACHE_CUSTOM,
  ];
  return $blocks;
}