You are here

function _fb_settings_url_rewrite_prefixes in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 6.3 fb_url_rewrite.inc \_fb_settings_url_rewrite_prefixes()
  2. 7.3 fb_url_rewrite.inc \_fb_settings_url_rewrite_prefixes()

Returns a list of the values which we prepend to paths when rewriting urls.

3 calls to _fb_settings_url_rewrite_prefixes()
fb_scrub_urls in ./fb.module
This method will clean up URLs. When serving canvas pages, extra information is included in URLs (see fb_url_rewrite.inc). This will remove the extra information.
fb_url_inbound_alter in ./fb_url_rewrite.inc
Implementation of hook_url_inbound_alter().
fb_url_outbound_alter in ./fb_url_rewrite.inc
Implementation of hook_url_outbound_alter().
1 string reference to '_fb_settings_url_rewrite_prefixes'
fb_scrub_urls in ./fb.module
This method will clean up URLs. When serving canvas pages, extra information is included in URLs (see fb_url_rewrite.inc). This will remove the extra information.

File

./fb_url_rewrite.inc, line 26
Performs custom url rewriting for Drupal for Facebook.

Code

function _fb_settings_url_rewrite_prefixes() {
  static $prefixes;
  if (!isset($prefixes)) {
    $prefixes = array(
      FB_SETTINGS_CB,
      FB_SETTINGS_CB_TYPE,
      FB_SETTINGS_CB_SESSION,
    );
  }
  return $prefixes;
}