summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-03-30 18:35:29 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-03-30 18:35:29 -0400
commita610b977aab78ebdacf35033c2d8695d83733795 (patch)
treec49590001c93ae72663410f913af8f1de9a0c0d3 /includes/theme.inc
parentc17ccc02ae279900653affd9691e372554df1991 (diff)
downloadbrdo-a610b977aab78ebdacf35033c2d8695d83733795.tar.gz
brdo-a610b977aab78ebdacf35033c2d8695d83733795.tar.bz2
Issue #713462 by jwilson3, Paul B, casey, sivaji@knackforge.com, dcam: Content added via drupal_add_region_content() is not added to pages
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index ed34b8289..1833beeb8 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -2622,6 +2622,9 @@ function template_preprocess_page(&$variables) {
if (!isset($variables['page'][$region_key])) {
$variables['page'][$region_key] = array();
}
+ if ($region_content = drupal_get_region_content($region_key)) {
+ $variables['page'][$region_key][]['#markup'] = $region_content;
+ }
}
// Set up layout variable.