function custompage_region_tile in Custom Page 6
Same name and namespace in other branches
- 7 custompage_util.inc \custompage_region_tile()
Put a regions content in a custompage tile.
Parameters
$region : The region key
File
- ./
custompage_util.inc, line 112
Code
function custompage_region_tile($region) {
$tile = theme('blocks', $region);
if (empty($tile)) {
return '';
}
//Fixing: http://drupal.org/node/358442
$editlink = custompage_edit_link('admin/build/block/list', FALSE);
$tile = custompage_tile_wrap($tile, $editlink);
return $tile;
}