function uc_coupon_workflow_suspended in Ubercart Discount Coupons 7.3
Same name and namespace in other branches
- 7.2 uc_coupon_workflow/uc_coupon_workflow.rules.inc \uc_coupon_workflow_suspended()
For certain events (e.g. new user creation), administrators are provided with an interface which allows them to prevent execution of coupon actions based on those events.
2 string references to 'uc_coupon_workflow_suspended'
- uc_coupon_workflow_suspend_element in uc_coupon_workflow/
uc_coupon_workflow.module - Builds a form element allowing an administrator to suspend coupon workflow.
- uc_coupon_workflow_user_insert in uc_coupon_workflow/
uc_coupon_workflow.module - Implements hook_user_insert().
File
- uc_coupon_workflow/
uc_coupon_workflow.rules.inc, line 217 - Rules integration for uc_coupon_workflow
Code
function uc_coupon_workflow_suspended($settings) {
$auth = drupal_static('uc_coupon_workflow_suspended');
return !empty($auth);
}