drupal_set_content
Definition
drupal_set_content($region = NULL, $data = NULL)
includes/common.inc, line 34
Description
Set content for a specified region.
Parameters
$region Page region the content is assigned to.
$data Content to be set.
Code
<?php
function drupal_set_content($region = NULL, $data = NULL) {
static $content = array();
if (!is_null($region) && !is_null($data)) {
$content[$region][] = $data;
}
return $content;
}
?> 