function hook_fboauth_actions_alter in Facebook OAuth (FBOAuth) 7.2
Same name and namespace in other branches
- 6 fboauth.api.php \hook_fboauth_actions_alter()
- 7 fboauth.api.php \hook_fboauth_actions_alter()
Alter the list of Facebook Actions provided through hook_fboauth_actions().
See also
1 invocation of hook_fboauth_actions_alter()
- fboauth_action_load in ./
fboauth.module - Load a Facebook OAuth action.
File
- ./
fboauth.api.php, line 66 - This file contains API documentation for the Facebook OAuth module. Note that all of this code is merely for example purposes, it is never executed when using the Facebook OAuth module.
Code
function hook_fboauth_actions_alter(&$actions) {
// Replace the normal login callback with custom login callback.
$actions['connect']['callback'] = 'mymodule_fboauth_action_connect';
}