You are here

function hook_fboauth_actions_alter in Facebook OAuth (FBOAuth) 7

Same name and namespace in other branches
  1. 6 fboauth.api.php \hook_fboauth_actions_alter()
  2. 7.2 fboauth.api.php \hook_fboauth_actions_alter()

Alter the list of Facebook Actions provided through hook_fboauth_actions().

See also

fboauth_fboauth_actions().

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';
}