You are here

function log_views_data_alter in Log entity 7

Implements hook_views_data_alter().

File

includes/views/log.views.inc, line 11
Log Views hooks.

Code

function log_views_data_alter(&$data) {

  // Override the default log timestamp field and sort handlers, to add an
  // additional sort by log ID.
  $data['log']['timestamp']['field']['handler'] = 'log_handler_field_timestamp';
  $data['log']['timestamp']['sort']['handler'] = 'log_handler_sort_timestamp';
}