You are here

function opigno_learning_path_theme in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 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_steps' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_training_content_step' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_training_content_step_summary_details_table' => [
      'variables' => [
        'mandatory' => FALSE,
        'type' => NULL,
        'steps' => NULL,
        'substeps' => NULL,
        'status' => NULL,
        'progress' => NULL,
      ],
    ],
    'opigno_learning_path_progress_ajax_container' => [
      'variables' => [
        'group_id' => NULL,
        'account_id' => NULL,
        'latest_cert_date' => NULL,
        'class' => NULL,
      ],
    ],
    'opigno_learning_path_progress' => [
      'variables' => [
        'value' => NULL,
        'show_bar' => NULL,
      ],
    ],
    '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_actions' => [
      'variables' => [
        'actions' => [],
      ],
    ],
    'opigno_learning_path_training_details' => [
      'variables' => [
        'group_id' => NULL,
      ],
    ],
    'opigno_learning_path_join_group_form_overlay' => [
      'render element' => 'elements',
    ],
    '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,
        'activities' => NULL,
      ],
    ],
    'opigno_learning_path_training_ilt' => [
      'variables' => [
        'date' => NULL,
        'status' => NULL,
        'attended' => NULL,
        'step' => NULL,
        'place' => NULL,
        'approved' => NULL,
      ],
    ],
    'opigno_learning_path_training_meeting' => [
      'variables' => [
        'date' => NULL,
        'status' => NULL,
        'attended' => NULL,
        'step' => NULL,
        'place' => NULL,
        'approved' => NULL,
      ],
    ],
    'opigno_learning_path_training_step' => [
      'render element' => 'elements',
    ],
    'opigno_learning_path_step_block' => [
      'variables' => [
        'title' => NULL,
        'state_summary' => NULL,
        'table_summary' => NULL,
      ],
    ],
    'opigno_learning_path_step_block_progress' => [
      'variables' => [
        'passed' => NULL,
        'expired' => NULL,
        'has_experation_date' => NULL,
        'expired_date' => NULL,
        'complite_date' => NULL,
        'started_date' => NULL,
      ],
    ],
    'lp_progress' => [
      'variables' => [
        'progress' => NULL,
        'summary' => NULL,
      ],
    ],
    'opigno_lp_step_activity' => [
      'render element' => 'elements',
    ],
    'opigno_lp_step_module' => [
      'render element' => 'elements',
    ],
    'opigno_lp_step_module_activity' => [
      'render element' => 'elements',
    ],
    'opigno_lp_step_ilt' => [
      'render element' => 'elements',
    ],
    'opigno_lp_step_meeting' => [
      'render element' => 'elements',
    ],
    'lp_status' => [
      'render element' => 'elements',
    ],
    'lp_circle_progress' => [
      'variables' => [
        'radius' => NULL,
        'progress' => NULL,
      ],
    ],
    'opigno_documents_last_group_block' => [
      'render element' => 'elements',
    ],
    'opigno_documents_last_group_item' => [
      'variables' => [
        'item' => NULL,
        'type' => NULL,
        'link' => NULL,
        'label' => NULL,
      ],
    ],
  ];
}