You are here

function block_imageblock_get in Image Block 7

Returns information from database about a user-created (custom) image block.

2 calls to block_imageblock_get()
imageblock_block_configure in ./imageblock.module
Implements hook_block_configure().
imageblock_custom_block_delete in ./imageblock.admin.inc
Form builder for the image block deletion form.

File

./imageblock.module, line 324
imageblock.module Primarily Drupal hooks.

Code

function block_imageblock_get($bid) {
  return db_query("SELECT * FROM {imageblock} WHERE bid = :bid", array(
    ':bid' => $bid,
  ))
    ->fetchAssoc();
}