function opigno_module_theme in Opigno module 8
Same name and namespace in other branches
- 3.x 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['region__content__opigno_module__activity'] = [
'base hook' => 'region',
'progress' => NULL,
'home_link' => NULL,
];
$theme['block__opigno_module_learning_path_progress_block'] = [
'base hook' => 'block',
'progress' => NULL,
'home_link' => NULL,
'ajax_conteiner' => FALSE,
];
$theme['opigno_module'] = [
'render element' => 'elements',
'file' => 'opigno_module.theme.inc',
'template' => 'opigno_module',
];
return $theme;
}