function course_rules_condition_info in Course 8.2
Same name and namespace in other branches
- 8.3 includes/course.rules.inc \course_rules_condition_info()
- 7.2 includes/course.rules.inc \course_rules_condition_info()
- 7 includes/course.rules.inc \course_rules_condition_info()
Implements hook_rules_condition_info().
File
- includes/
course.rules.inc, line 6
Code
function course_rules_condition_info() {
return array(
'course_enrollment_check' => array(
'label' => t('User is enrolled'),
'parameter' => array(
'node' => array(
'type' => 'node',
'label' => t('Node'),
),
'user' => array(
'type' => 'user',
'label' => t('User'),
),
),
'group' => t('Course'),
'base' => 'course_rules_condition_course_enrollment_check',
),
);
}