function fb_views_views_arguments in Drupal for Facebook 5.2
Same name and namespace in other branches
- 5 fb_views.module \fb_views_views_arguments()
File
- ./
fb_views.module, line 37 - Facebook-specific views arguments, filters, etc...
Code
function fb_views_views_arguments() {
$items['fb_user_author'] = array(
'name' => t('Facebook User: Author is Friend'),
'help' => t('The node\'s author is a friend of the user. <br/>The application hint is needed on non-canvas pages, ignored on canvas pages.'),
'handler' => 'fb_views_handler_author_is_friend',
'option' => array(
'#type' => 'select',
'#options' => fb_get_app_options(FALSE),
'#title' => t('App Hint'),
),
);
return $items;
}