You are here

function fb_connect_block_info in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 7.4 fb_connect.module \fb_connect_block_info()

Implements hook_block_info().

File

./fb_connect.module, line 190
Support for Facebook Connect features

Code

function fb_connect_block_info() {
  $items = array();
  foreach (fb_get_all_apps() as $fb_app) {
    $d = 'login_' . $fb_app->label;
    $items[$d] = array(
      'info' => t('Facebook Connect Login to !app', array(
        '!app' => $fb_app->title,
      )),
    );
  }
  return $items;
}