function twitter_actions_action_info in Twitter 6.5
Same name and namespace in other branches
- 6.2 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 6.3 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 6.4 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 7.6 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 7.3 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 7.4 twitter_actions/twitter_actions.module \twitter_actions_action_info()
- 7.5 twitter_actions/twitter_actions.module \twitter_actions_action_info()
Implementation of hook_action_info().
File
- twitter_actions/
twitter_actions.module, line 10 - Exposes Drupal actions for sending Twitter messages.
Code
function twitter_actions_action_info() {
return array(
'twitter_actions_set_status_action' => array(
'type' => 'system',
'description' => t('Post a message to Twitter'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'view',
'insert',
'update',
'delete',
),
'comment' => array(
'view',
'insert',
'update',
'delete',
),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
'cron' => array(
'run',
),
),
),
);
}