upsc_quiz-1.0.x-dev/config/schema/upsc_quiz.schema.yml

config/schema/upsc_quiz.schema.yml
# Configuration schema for UPSC Quiz module

upsc_quiz.settings:
  type: config_object
  label: 'UPSC Quiz Settings'
  mapping:
    time_limit:
      type: integer
      label: 'Time limit in minutes'
      description: 'Maximum time allowed for quiz completion (0 for no limit)'
    enable_analytics:
      type: boolean
      label: 'Enable analytics'
      description: 'Track question performance and user statistics'
    allow_retake:
      type: boolean
      label: 'Allow retake'
      description: 'Allow users to retake completed quizzes'
    show_correct_answers:
      type: boolean
      label: 'Show correct answers'
      description: 'Display correct answers in review mode'
    randomize_questions:
      type: boolean
      label: 'Randomize questions'
      description: 'Shuffle question order for each attempt'
    randomize_options:
      type: boolean
      label: 'Randomize options'
      description: 'Shuffle answer options (A, B, C, D)'
    questions_per_section:
      type: integer
      label: 'Questions per section'
      description: 'Number of questions to display per quiz section'
    notify_admin:
      type: boolean
      label: 'Notify admin'
      description: 'Send email notifications for quiz completions'
    admin_email:
      type: email
      label: 'Admin email'
      description: 'Email address for administrative notifications'
    cache_questions:
      type: boolean
      label: 'Cache questions'
      description: 'Enable question caching for better performance'
    debug_mode:
      type: boolean
      label: 'Debug mode'
      description: 'Enable detailed logging for troubleshooting'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc