You are here

function rules_twitter_actions_access_callback in Twitter 7.4

Same name and namespace in other branches
  1. 7.6 twitter_actions/twitter_actions.rules.inc \rules_twitter_actions_access_callback()
  2. 7.3 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

2 string references 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.
twitter_actions_rules_condition_info in twitter_actions/twitter_actions.rules.inc
Implements hook_rules_condition_info().

File

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

Code

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