You are here

function theme_debug_message_header in Devel Debug Log 7

Returns HTML for a debug message header.

Parameters

$variables: An associative array containing:

  • title: The title given to the message.
  • time: The time of the message.
1 theme call to theme_debug_message_header()
devel_debug_log_get_messages_table in ./devel_debug_log.module
Helper function to return the debug messages table.

File

./devel_debug_log.module, line 257
Creates a page that shows debug messages.

Code

function theme_debug_message_header($variables) {
  $output = $variables['time'];
  if (!empty($variables['title'])) {
    $output = $variables['title'] . ' @ ' . $output;
  }
  return $output;
}