function masquerade_views_views_handlers in Masquerade Extras 6
Same name and namespace in other branches
- 6.2 masquerade_views/masquerade_views.module \masquerade_views_views_handlers()
- 7.2 masquerade_views/masquerade_views.module \masquerade_views_views_handlers()
- 7 masquerade_views/masquerade_views.module \masquerade_views_views_handlers()
Implements hook_views_handlers().
Use hook_views_handlers() to avoid forcing our handler to be loaded on every page call with files[] in the .info file.
See also
File
- masquerade_views/
masquerade_views.module, line 27 - Provides Views support to Masquerade.
Code
function masquerade_views_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'masquerade_views') . '/handlers',
),
'handlers' => array(
'masquerade_handler_field_user' => array(
'parent' => 'views_handler_field_user_link',
),
),
);
}