You are here

function _fb_connect_get_config in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 7.3 fb_connect.module \_fb_connect_get_config()

Helper returns configuration for this module, on a per-app basis.

File

./fb_connect.module, line 304
Support for Facebook Connect features

Code

function _fb_connect_get_config($fb_app) {
  $fb_app_data = fb_get_app_data($fb_app);
  $config = isset($fb_app_data['fb_connect']) ? $fb_app_data['fb_connect'] : array();

  // Merge in defaults
  $config += array();
  return $config;
}