function hook_course_search_get_course_rotation_schedule

6.x course_search.api.php hook_course_search_get_course_rotation_schedule(&$schedule_array, $course_id, $year, $limit, $bool_include_next_five_years)

This is called AFTER the regular course rotation schedule array has been built. Notice it is passed by reference. This lets us make alterations to it.

File

modules/course_search/course_search.api.php, line 13

Code

function hook_course_search_get_course_rotation_schedule(&$schedule_array, $course_id, $year, $limit, $bool_include_next_five_years) {

  // ... Make changes to $schedule_array


  // Nothing to return, since $schedule_array is passed by reference.
}