You are here

function quiz_stats_permission in Quiz 6.x

Same name and namespace in other branches
  1. 8.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  2. 8.4 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  3. 8.5 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  4. 7.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
  5. 7 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
  6. 7.4 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
  7. 7.5 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 = [
    'access user stats' => [
      'title' => t('access user stats'),
    ],
    'access author stats' => [
      'title' => t('access author stats'),
    ],
  ];
  return $permission;
}