function hook_course_search_get_course_rotation_schedule_not_anticipated
Search API
7.x course_search.api.php | hook_course_search_get_course_rotation_schedule_not_anticipated(&$rtn, $course_id) |
6.x course_search.api.php | hook_course_search_get_course_rotation_schedule_not_anticipated(&$rtn, $course_id) |
This is called AFTER the regular course_search_get_course_rotation_schedule_not_anticipated. In general, we want to see if anything is going to be offered in the next 5 years.
File
- modules/
course_search/ course_search.api.php, line 28
Code
function hook_course_search_get_course_rotation_schedule_not_anticipated(&$rtn, $course_id) {
// Make changes here...
// Nothing to return since our $rtn is passed by reference
}