You are here

function statistics_permission in Drupal 7

Implements hook_permission().

File

modules/statistics/statistics.module, line 98
Logs and displays access statistics for a site.

Code

function statistics_permission() {
  return array(
    'administer statistics' => array(
      'title' => t('Administer statistics'),
    ),
    'access statistics' => array(
      'title' => t('View content access statistics'),
    ),
    'view post access counter' => array(
      'title' => t('View content hits'),
    ),
  );
}