theme_error($message)
drupal/includes/theme.inc, line 799
Return a themed error message. REMOVE: this function is deprecated an no longer used in core.
$message The error message to be themed.
A string containing the error output.
| Name | Description |
|---|---|
| Themeable functions | Functions that display HTML, and which can be customized by themes. |
function theme_error($message) {
return '<div class="error">'. $message .'</div>';
}