You are here

function opigno_module_theme in Opigno module 3.x

Same name and namespace in other branches
  1. 8 opigno_module.module \opigno_module_theme()

Implements hook_theme().

File

./opigno_module.module, line 56
Contains opigno_module.module.

Code

function opigno_module_theme() {
  $theme = [];
  $theme['opigno_activity'] = [
    'render element' => 'elements',
    'file' => 'opigno_module.theme.inc',
    'template' => 'opigno_activity',
  ];
  $theme['opigno_activity_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
    ],
    'file' => 'opigno_module.theme.inc',
  ];
  $theme['opigno_answer'] = [
    'render element' => 'elements',
    'file' => 'opigno_answer.page.inc',
    'template' => 'opigno_answer',
  ];
  $theme['opigno_answer_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
    ],
    'file' => 'opigno_answer.page.inc',
  ];
  $theme['opigno_module_item_form'] = [
    'variables' => [],
  ];
  $theme['opigno_user_result_item'] = [
    'variables' => [
      'opigno_answer' => NULL,
      'opigno_answer_activity' => NULL,
      'question_number' => NULL,
      'answer_max_score' => NULL,
    ],
  ];
  $theme['opigno_module_activity_from'] = [
    'render element' => 'content',
  ];
  $theme['block__opigno_module_learning_path_progress_block'] = [
    'base hook' => 'block',
    'progress' => NULL,
    'fullpage' => TRUE,
    'home_link' => NULL,
    'ajax_conteiner' => FALSE,
  ];
  $theme['opigno_module'] = [
    'render element' => 'elements',
    'file' => 'opigno_module.theme.inc',
    'template' => 'opigno_module',
  ];
  return $theme;
}