You are here

function opigno_learning_path_theme in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x opigno_learning_path.module \opigno_learning_path_theme()

Implements hook_theme().

File

./opigno_learning_path.module, line 49
Contains opigno_learning_path.module.

Code

function opigno_learning_path_theme() {
  return [
    'opigno_learning_path_manager' => [
      'variables' => [
        'base_path' => NULL,
        'base_href' => NULL,
        'learning_path_id' => NULL,
      ],
    ],
    'opigno_learning_path_courses' => [
      'variables' => [
        'base_path' => NULL,
        'base_href' => NULL,
        'learning_path_id' => NULL,
        'group_type' => NULL,
        'view_type' => NULL,
        'next_link' => NULL,
        'user_has_info_card' => NULL,
        'parent_learning_path' => NULL,
      ],
    ],
    'opigno_learning_path_modules' => [
      'variables' => [
        'base_path' => NULL,
        'base_href' => NULL,
        'learning_path_id' => NULL,
        'module_context' => NULL,
        'next_link' => NULL,
        'user_has_info_card' => NULL,
      ],
    ],
    'opigno_learning_path_item_form' => [
      'variables' => [],
    ],
    'group__learning_path' => [
      'base hook' => 'group',
    ],
    'group__learning_path__teaser_of_group' => [
      'base hook' => 'group',
    ],
    'region__content__admin__learning_path' => [
      'base hook' => 'region',
      'step_list_top' => NULL,
      'step_list_aside' => NULL,
    ],
    'page__group' => [
      'base hook' => 'page',
      'join_group_form' => NULL,
      'delete_lp_form' => NULL,
    ],
    'opigno_learning_path_training_content' => [
      'render element' => 'content',
    ],
    'opigno_learning_path_training_content_step' => [
      'variables' => [
        'step' => NULL,
        'group' => NULL,
      ],
    ],
    'multiselect_new_class' => [
      'arguments' => [
        'element' => NULL,
      ],
      'render element' => 'element',
      'template' => 'multiselect-new-class',
    ],
    'opigno_learning_path_progress_ajax_container' => [
      'variables' => [
        'group_id' => NULL,
        'account_id' => NULL,
        'latest_cert_date' => NULL,
        'class' => NULL,
      ],
    ],
    'opigno_learning_path_progress' => [
      'variables' => [
        'label' => NULL,
        'value' => NULL,
        'class' => NULL,
        'progress_bar' => TRUE,
      ],
    ],
    'opigno_learning_path_message' => [
      'variables' => [
        'markup' => NULL,
      ],
    ],
    'opigno_learning_path_training' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_training_timeline' => [
      'variables' => [
        'steps' => NULL,
      ],
    ],
    'opigno_learning_path_training_timeline_info' => [
      'variables' => [
        'label' => NULL,
        'text' => NULL,
      ],
    ],
    'opigno_learning_path_training_summary' => [
      'variables' => [
        'progress' => NULL,
        'score' => NULL,
        'group_id' => NULL,
        'has_certificate' => NULL,
        'is_passed' => NULL,
        'state_class' => NULL,
        'registration_date' => NULL,
        'validation_message' => NULL,
        'time_spend' => NULL,
        'certificate_url' => NULL,
      ],
    ],
    'opigno_learning_path_training_details' => [
      'variables' => [
        'group_id' => NULL,
      ],
    ],
    'opigno_learning_path_training_course_content' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_training_course' => [
      'variables' => [
        'passed' => NULL,
        'score' => NULL,
        'step' => NULL,
        'completed' => NULL,
        'badges' => NULL,
        'time_spent' => NULL,
      ],
    ],
    'opigno_learning_path_training_module' => [
      'variables' => [
        'status' => NULL,
        'group_id' => NULL,
        'step' => NULL,
        'approved' => NULL,
        'completed' => NULL,
        'badges' => NULL,
        'time_spent' => NULL,
      ],
    ],
    'opigno_learning_path_training_step' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_step_block' => [
      'variables' => [
        'title' => NULL,
        'state_summary' => NULL,
        'table_summary' => NULL,
      ],
    ],
  ];
}