You are here

function rules_twitter_actions_access_callback in Twitter 7.6

Same name and namespace in other branches
  1. 7.3 twitter_actions/twitter_actions.rules.inc \rules_twitter_actions_access_callback()
  2. 7.4 twitter_actions/twitter_actions.rules.inc \rules_twitter_actions_access_callback()
  3. 7.5 twitter_actions/twitter_actions.rules.inc \rules_twitter_actions_access_callback()

The callback function to access the condition

1 string reference to 'rules_twitter_actions_access_callback'
twitter_actions_rules_action_info in twitter_actions/twitter_actions.rules.inc
Implements hook_rules_action_info() on behalf of the Twitter module.

File

twitter_actions/twitter_actions.rules.inc, line 108
Provides Rules integration in order to post tweets.

Code

function rules_twitter_actions_access_callback($type, $name) {
  return user_access('add twitter accounts');
}