masquerade_views.module in Masquerade Extras 6.2
Same filename and directory in other branches
Provides Views support to Masquerade.
File
masquerade_views/masquerade_views.moduleView source
<?php
/**
* @file
* Provides Views support to Masquerade.
*/
/**
* Implements hook_views_api().
*
* @see hook_views_api()
*/
function masquerade_views_views_api() {
return array(
'api' => '2',
'path' => drupal_get_path('module', 'masquerade_views'),
);
}
/**
* 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 hook_views_handlers()
*/
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',
),
),
);
}
Functions
Name | Description |
---|---|
masquerade_views_views_api | Implements hook_views_api(). |
masquerade_views_views_handlers | Implements hook_views_handlers(). |