You are here

function custompage_region_tile in Custom Page 7

Same name and namespace in other branches
  1. 6 custompage_util.inc \custompage_region_tile()

Put a regions content in a custompage tile.

Parameters

$region: The region key

File

./custompage_util.inc, line 124

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/structure/block/list', FALSE);
  $tile = custompage_tile_wrap($tile, $editlink);
  return $tile;
}