function mongodb_block_ui_block_view in MongoDB 7
Implements hook_block_view().
Generates the administrator-defined block for display.
File
- mongodb_block_ui/
mongodb_block_ui.module, line 187 - Controls the visual building mongodb_block_uis a page is constructed with.
Code
function mongodb_block_ui_block_view($delta = 0, $edit = array()) {
$block = mongodb_block_ui_load($delta);
$data['subject'] = check_plain($block['title']);
$data['content'] = check_markup($block['body']['value'], $block['body']['format'], '', TRUE);
return $data;
}