theme_error

Versions
4.6
theme_error($message)

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

Code

includes/theme.inc, line 799

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.