You are here

function masquerade_views_views_handlers in Masquerade Extras 6.2

Same name and namespace in other branches
  1. 6 masquerade_views/masquerade_views.module \masquerade_views_views_handlers()
  2. 7.2 masquerade_views/masquerade_views.module \masquerade_views_views_handlers()
  3. 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

hook_views_handlers()

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',
      ),
    ),
  );
}