function fb_app_token_list in Drupal for Facebook 5
Same name and namespace in other branches
- 5.2 fb_app.module \fb_app_token_list()
- 6.3 fb_app.module \fb_app_token_list()
- 6.2 fb_app.module \fb_app_token_list()
- 7.3 fb_app.module \fb_app_token_list()
File
- ./
fb_app.module, line 424 - 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;
}