You are here

function globallink_block_get_info in GlobalLink Connect for Drupal 7.7

1 call to globallink_block_get_info()
globallink_block_send_blocks_for_translations in globallink_block/globallink_block.inc
Sends blocks for translation.

File

globallink_block/globallink_block.inc, line 386

Code

function globallink_block_get_info($bid) {
  $results = db_select(GLOBALLINK_ENTITY_TYPE_BLOCK, 'bk')
    ->fields('bk')
    ->condition('delta', $bid, '=')
    ->distinct()
    ->execute();
  $arr = new stdClass();
  foreach ($results as $result) {
    $arr = $result;
  }
  return $arr;
}