You are here

function opigno_simple_ui_opigno_tool_alter in Opigno 7

Implements hook_opigno_tool_alter().

File

modules/simple_ui/opigno_simple_ui.module, line 273

Code

function opigno_simple_ui_opigno_tool_alter(&$tools, $node = NULL) {
  if (isset($tools['quiz'])) {
    $tools['quiz']['name'] = t("Lessons");
    $tools['quiz']['weight'] = -20;
    $tools['quiz']['description'] = t("Lessons allow teachers to assess students and provide slideshows with course content and/or questions.");
  }
}