You are here

function sms_rules_access_callback in SMS Framework 7

Access callback for the SMS Rules integration.

Parameters

string $type: The access type.

Return value

bool true if the user has access, false if not.

3 string references to 'sms_rules_access_callback'
sms_rules_action_info in ./sms.rules.inc
Implements hook_rules_action_info().
sms_rules_condition_info in ./sms.rules.inc
Implements hook_rules_condition_info()
sms_rules_event_info in ./sms.rules.inc
Implements hook_rules_event_info().

File

./sms.rules.inc, line 105
Rules module integration for the smsframework.

Code

function sms_rules_access_callback($type) {
  return user_access('administer smsframework');
}