You are here

function _views_watchdog_format_message in Views Watchdog 6.2

Same name and namespace in other branches
  1. 6.3 views_watchdog.module \_views_watchdog_format_message()
  2. 7.3 views_watchdog.module \_views_watchdog_format_message()

Helper function; formats watchdog message.

2 calls to _views_watchdog_format_message()
views_handler_field_watchdog_message::render in views/handlers/views_handler_field_watchdog_message.inc
views_plugin_row_watchdog_rss::render in views/plugins/views_plugin_row_watchdog_rss.inc

File

./views_watchdog.module, line 139
This module extends the Views module and allows to create customized lists (pages, blocks, feeds) of watchdog entries.

Code

function _views_watchdog_format_message($message, $variables) {
  return $variables === 'N;' ? $message : t($message, unserialize($variables));
}