You are here

function rules_drupagram_actions_access_callback in Drupagram 7

The callback function to access the condition

2 string references to 'rules_drupagram_actions_access_callback'
drupagram_actions_rules_action_info in drupagram_actions/drupagram_actions.rules.inc
Implements hook_rules_action_info() on behalf of the drupagram module.
drupagram_actions_rules_condition_info in drupagram_actions/drupagram_actions.rules.inc
Implements hook_rules_condition_info().

File

drupagram_actions/drupagram_actions.rules.inc, line 116
Provide better intergration into the rules module

Code

function rules_drupagram_actions_access_callback($type, $name) {
  return user_access('add drupagram accounts');
}