block_custom_block_get($bid)
drupal/modules/block/block.module, line 482
Returns information from database about a user-created (custom) block.
$bid ID of the block to get information for.
Associative array of information stored in the database for this block. Array keys:
function block_custom_block_get($bid) {
return db_query("SELECT * FROM {block_custom} WHERE bid = :bid", array(':bid' => $bid))->fetchAssoc();
}