function quiz_stats_permission in Quiz 6.x
Same name and namespace in other branches
- 8.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 8.4 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 8.5 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 7.6 modules/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 7 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 7.4 includes/quiz_stats/quiz_stats.module \quiz_stats_permission()
- 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;
}