function certificate_rules_award_certificate in Certificate 8.3
Same name and namespace in other branches
- 6.2 certificate.module \certificate_rules_award_certificate()
- 7.3 certificate.module \certificate_rules_award_certificate()
- 7.2 certificate.module \certificate_rules_award_certificate()
- 4.x 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 579 - Certificate module.
Code
function certificate_rules_award_certificate($node, $user) {
global $_certificate_award;
$_certificate_award = TRUE;
}