You are here

function fboauth_fboauth_actions in Facebook OAuth (FBOAuth) 7

Same name and namespace in other branches
  1. 6 fboauth.module \fboauth_fboauth_actions()
  2. 7.2 fboauth.module \fboauth_fboauth_actions()

Implements hook_fboauth_actions().

File

./fboauth.module, line 173

Code

function fboauth_fboauth_actions() {
  $actions = array();
  $actions['connect'] = array(
    'title' => t('Connect'),
    'file' => 'includes/fboauth.fboauth.inc',
    'callback' => 'fboauth_action_connect',
    'permissions' => array_keys(fboauth_user_connect_permissions()),
  );
  $actions['deauth'] = array(
    'title' => t('Deauthorize'),
    'file' => 'includes/fboauth.fboauth.inc',
    'callback' => 'fboauth_action_deauth',
  );
  return $actions;
}