You are here

function ajax_quiz_permission in Quiz 8.5

Same name and namespace in other branches
  1. 8.6 modules/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()
  2. 8.4 modules/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()
  3. 7.6 modules/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()
  4. 7 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()
  5. 7.4 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()
  6. 7.5 modules/ajax_quiz/ajax_quiz.module \ajax_quiz_permission()

Implements hook_permission().

File

modules/ajax_quiz/ajax_quiz.module, line 20
module file for ajax_quiz quiz module

Code

function ajax_quiz_permission() {
  return array(
    'access ajax quiz' => array(
      'title' => t('access ajax quiz'),
      'description' => t('Allowed to take a quiz with ajax.'),
    ),
  );
}