log.pages.inc 301 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<?php

/**
 * @file
 * Log pages
 */

/**
 * Log view callback.
 */
function log_view($log) {
12
13
  $log_type = log_types($log->type);
  drupal_set_title(entity_label('log_type', $log_type) . ': ' . entity_label('log', $log));
14
15
  return entity_view('log', array(entity_id('log', $log) => $log), 'full');
}