function hook_degree_plan_load
Search API
Allows modules to hook in after a degree plan object is created & loaded.
Specifically, this is called at the end of the DegreePlan::load_degree_plan() method is called.
Similar concept to hook_student_load
See also
File
- includes/
hook.api.php, line 690 - Lists all available hooks within FlightPath's core code.
Code
function hook_degree_plan_load(&$degree) {
if ($degree->major_code == 'XYZ') {
$degree->is_xyz = TRUE;
}
}