You are here

function fb_views_views_arguments in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_views.module \fb_views_views_arguments()

File

./fb_views.module, line 19

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;
}