You are here

function context_blocks in Context 6

Same name and namespace in other branches
  1. 6.3 context.core.inc \context_blocks()
  2. 6.2 context.core.inc \context_blocks()

This override of theme_blocks() is called because of an alter of the theme registry. See context_theme_registry_alter().

1 string reference to 'context_blocks'
context_theme_registry_alter in ./context.core.inc
Implementation of hook_theme_registry_alter().

File

./context.core.inc, line 280

Code

function context_blocks($region) {
  $output = "";
  if ($list = context_block_list($region)) {
    foreach ($list as $key => $block) {
      $output .= theme("block", $block);
    }
  }

  // Add any content assigned to this region through drupal_set_content() calls.
  $output .= drupal_get_content($region);
  return $output;
}