You are here

function better_statistics_better_statistics_methods in Better Statistics 7

Implements hook_better_statistics_methods().

File

./better_statistics.statistics.inc, line 86
Statistics API functions and hooks for the Better Statistics module.

Code

function better_statistics_better_statistics_methods() {
  $mod_path = drupal_get_path('module', 'better_statistics');
  $methods['accesslog'] = $mod_path . '/js/methods/better_statistics.accesslog.js';
  $methods['entity_view'] = $mod_path . '/js/methods/better_statistics.entity_view.js';
  return $methods;
}