function statistics_permission

Implements hook_permission().

File

modules/statistics/statistics.module, line 98

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'),
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.