You are here

function fb_app_token_list in Drupal for Facebook 5.2

Same name and namespace in other branches
  1. 5 fb_app.module \fb_app_token_list()
  2. 6.3 fb_app.module \fb_app_token_list()
  3. 6.2 fb_app.module \fb_app_token_list()
  4. 7.3 fb_app.module \fb_app_token_list()

File

./fb_app.module, line 469
Defines a custom node type that stores a facebook application configuration.

Code

function fb_app_token_list($type = 'all') {
  if ($type == 'all' || $type == 'fb' || $type == 'fb_app') {
    $tokens['fb_app']['fb-app-nid'] = t('Facebook application ID');
    $tokens['fb_app']['fb-app-title'] = t('Facebook application title');
    $tokens['fb_app']['fb-app-url'] = t('Facebook application URL (base path)');
  }
  return $tokens;
}