theme_error

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

2 theme calls to theme_error()

File

includes/theme.inc, line 799
The theme system, which controls the output of Drupal.

Code

function theme_error($message) {
  return '<div class="error">' . $message . '</div>';
}
Login or register to post comments