You are here

function fb_tab_config_url in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 6.3 fb_tab.module \fb_tab_config_url()

Provides the URL of the settings page for a given facebook page.

1 call to fb_tab_config_url()
fb_tab_pages in ./fb_tab.module
This page callback will show the user a list of pages they have authority to configure.

File

./fb_tab.module, line 549
This module provides support for "Profile Tabs" that can be added to facebook pages (no longer allowed for user profiles).

Code

function fb_tab_config_url($profile_id = NULL, $options = array()) {
  if (!$profile_id) {
    $profile_id = fb_settings(FB_SETTINGS_CB_PAGE);
  }
  return url(FB_TAB_PATH_FORM . '/' . $profile_id, $options);
}