drupal_add_region_content

Versions
mediamosa-21
drupal_add_region_content($region = NULL, $data = NULL)

Add content to a specified region.

Parameters

$region Page region the content is added to.

$data Content to be added.

▾ 3 functions call drupal_add_region_content()

drupal_get_region_content in includes/common.inc
Get assigned content for a given region.
install_display_output in includes/install.core.inc
Display themed installer output and end the page request.
update_task_list in ./update.php
Add the update task list to the current page.

Code

includes/common.inc, line 161

<?php
function drupal_add_region_content($region = NULL, $data = NULL) {
  static $content = array();

  if (!is_null($region) && !is_null($data)) {
    $content[$region][] = $data;
  }
  return $content;
}
?>