function certificate_rules_award_certificate in Certificate 4.x
Same name and namespace in other branches
- 8.3 certificate.module \certificate_rules_award_certificate()
- 6.2 certificate.module \certificate_rules_award_certificate()
- 7.3 certificate.module \certificate_rules_award_certificate()
- 7.2 certificate.module \certificate_rules_award_certificate()
- 3.x certificate.module \certificate_rules_award_certificate()
Set the awarded certificate.
@todo in Drupal 7 and Rules 2, we can use return values. Rules 1 does not have return values.
File
- ./
certificate.module, line 118
Code
function certificate_rules_award_certificate($node, $user) {
global $_certificate_award;
$_certificate_award = TRUE;
}