theme_error

Definition

theme_error($message)
drupal/includes/theme.inc, line 799

Description

Return a themed error message. REMOVE: this function is deprecated an no longer used in core.

Parameters

$message The error message to be themed.

Return value

A string containing the error output.

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function theme_error($message) {
  return '<div class="error">'. $message .'</div>';
}