function twitter_actions_set_status_action_submit in Twitter 6.5
Same name and namespace in other branches
- 6.2 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 6.3 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 6.4 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 7.6 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 7.3 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 7.4 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
- 7.5 twitter_actions/twitter_actions.module \twitter_actions_set_status_action_submit()
Implements hook_actions_set_status_action_submit()
File
- twitter_actions/
twitter_actions.module, line 110 - Exposes Drupal actions for sending Twitter messages.
Code
function twitter_actions_set_status_action_submit($form, $form_state) {
$form_values = $form_state['values'];
// Process the HTML form to store configuration. The keyed array that
// we return will be serialized to the database.
$params = array(
'screen_name' => $form_values['screen_name'],
'message' => $form_values['message'],
);
return $params;
}