function statistics_library_info

Implements hook_library_info().

File

drupal/core/modules/statistics/statistics.module, line 251
Logs and displays content statistics for a site.

Code

function statistics_library_info() {
  $libraries['drupal.statistics'] = array(
    'title' => 'Statistics',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'statistics') . '/statistics.js' => array(
        'scope' => 'footer',
      ),
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal',
      ),
      array(
        'system',
        'drupalSettings',
      ),
    ),
  );
  return $libraries;
}