You are here

function course_rules_action_course_enroll in Course 7

Same name and namespace in other branches
  1. 8.3 includes/course.rules.inc \course_rules_action_course_enroll()
  2. 8.2 includes/course.rules.inc \course_rules_action_course_enroll()
  3. 7.2 includes/course.rules.inc \course_rules_action_course_enroll()

Rules action handler for enrollment.

1 string reference to 'course_rules_action_course_enroll'
course_rules_action_info in includes/course.rules.inc
Implements hook_rules_action_info().

File

includes/course.rules.inc, line 69

Code

function course_rules_action_course_enroll($node, $account) {
  course_enroll($node, $account);
}