function file_aliases_views_handlers in File Aliases 6
Implements hook_views_handlers().
File
- includes/
file_aliases.views.inc, line 10 - Contains views data and handlers for the File Aliases module.
Code
function file_aliases_views_handlers() {
$handlers = array(
'info' => array(
'path' => drupal_get_path('module', 'file_aliases') . '/includes',
),
'handlers' => array(
'file_aliases_views_handler_field_file' => array(
'parent' => 'views_handler_field_file',
),
),
);
// Invoke file_aliases_hook_views_handlers().
foreach (module_list() as $module) {
if (function_exists($function = 'file_aliases_' . $module . '_views_handlers')) {
$function($handlers['handlers']);
}
}
return $handlers;
}