function theme_customerror in Customerror 7
Same name and namespace in other branches
- 5 customerror.module \theme_customerror()
- 6 customerror.module \theme_customerror()
Returns HTML for a customized error message.
Parameters
array $variables: An associative array containing:
- code: HTTP response status.
- content: markup message.
1 theme call to theme_customerror()
- customerror_page in ./
customerror.module - Returns the content to display on the the 403 or 404 error page.
File
- ./
customerror.module, line 285 - Enables custom 404 (not found) and 403 (access denied) pages in Drupal.
Code
function theme_customerror(array $variables) {
$content = $variables['content'];
return $content;
}