You are here

function quiz_stats_permission in Quiz 8.4

Same name and namespace in other branches
  1. 8.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  2. 8.5 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  3. 7.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  4. 7 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
  5. 7.4 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
  6. 7.5 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  7. 6.x modules/quiz_stats/quiz_stats.module \quiz_stats_permission()

Implements hook_permission().

File

modules/quiz_stats/quiz_stats.module, line 22
Quiz stats

Code

function quiz_stats_permission() {
  $permission = array(
    'access user stats' => array(
      'title' => t('access user stats'),
    ),
    'access author stats' => array(
      'title' => t('access author stats'),
    ),
  );
  return $permission;
}