function hook_flightpath_can_assign_course_to_degree_id

Is the course allowed to be assigned to the specified degree? Returns TRUE or FALSE

1 function implements hook_flightpath_can_assign_course_to_degree_id()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

system_flightpath_can_assign_course_to_degree_id in modules/system/system.module
Implements hook flightpath_can_assign_course_to_degree_id

File

includes/hook.api.php, line 211
Lists all available hooks within FlightPath's core code.

Code

function hook_flightpath_can_assign_course_to_degree_id($degree_id, $course) {

  // See previously assigned degrees: $course->assigned_to_degree_ids_array  


  return TRUE;

}