lib.php 333 B

1234567
  1. <?php
  2. function tool_devcourse_extend_navigation_course($navigation, $course, $coursecontext) {
  3. $url = new moodle_url('/admin/tool/devcourse/index.php');
  4. $devcoursenode = navigation_node::create('Development course', $url, navigation_node::TYPE_CUSTOM, 'Dev course', 'devcourse');
  5. $navigation->add_node($devcoursenode);
  6. }