diff options
author | David Rothstein <drothstein@gmail.com> | 2015-03-30 18:35:29 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-03-30 18:35:29 -0400 |
commit | a610b977aab78ebdacf35033c2d8695d83733795 (patch) | |
tree | c49590001c93ae72663410f913af8f1de9a0c0d3 /includes/theme.inc | |
parent | c17ccc02ae279900653affd9691e372554df1991 (diff) | |
download | brdo-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.inc | 3 |
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. |