function commerce_payleap_rules_integration_access in Commerce Payleap 7
PayLeap Rules integration access callback.
1 string reference to 'commerce_payleap_rules_integration_access'
- commerce_payleap_rules_action_info in ./
commerce_payleap.rules.inc - Implements hook_rules_action_info().
File
- ./
commerce_payleap.rules.inc, line 52
Code
function commerce_payleap_rules_integration_access($type, $name) {
// Grant everyone access to conditions.
return $type == 'condition' || user_access('administer orders');
}