function fb_views_views_handlers in Drupal for Facebook 6.2
Same name and namespace in other branches
- 6.3 fb_views/fb_views.module \fb_views_views_handlers()
- 7.3 fb_views/fb_views.module \fb_views_views_handlers()
File
- fb_views/
fb_views.module, line 13 - Facebook-specific views arguments, filters, etc...
Code
function fb_views_views_handlers() {
$path = drupal_get_path('module', 'fb_views');
return array(
'handlers' => array(
// fields
'fb_views_handler_profile_pic' => array(
'parent' => 'views_handler_field',
'path' => $path,
),
// filters
'fb_views_handler_filter_friends' => array(
'parent' => 'views_handler_filter_boolean_operator',
'path' => $path,
),
'fb_views_handler_filter_profile_tab' => array(
'parent' => 'views_handler_filter_boolean_operator',
'path' => $path,
),
// arguments
'fb_views_handler_author_is_friend' => array(
'parent' => 'views_handler_argument_user_uid',
'path' => $path,
),
),
);
}