theme_box($title, $content, $region = 'main')
drupal/includes/theme.inc, line 1471
Return a themed box.
$title The subject of the box.
$content The content of the box.
$region The region in which the box is displayed.
A string containing the box output.
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
function theme_box($title, $content, $region = 'main') {
$output = '<h2 class="title">' . $title . '</h2><div>' . $content . '</div>';
return $output;
}