Same name and namespace in other branches
  1. 4.7.x modules/block.module \block_box_get()
  2. 5.x modules/block/block.module \block_box_get()
  3. 6.x modules/block/block.module \block_box_get()
1 call to block_box_get()
block_box_delete in modules/block.module
Menu callback; confirm and delete custom blocks.

File

modules/block.module, line 246
Controls the boxes that are displayed around the main content.

Code

function block_box_get($bid) {
  return db_fetch_array(db_query('SELECT * FROM {boxes} WHERE bid = %d', $bid));
}