You are here

function filefield_meta_views_handlers in FileField 6.3

Implementation of hook_views_handlers().

Related topics

File

filefield_meta/includes/filefield_meta.views.inc, line 180
Provide views data for filefield_meta.module.

Code

function filefield_meta_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'filefield_meta') . '/includes',
    ),
    'handlers' => array(
      // field handlers
      'filefield_meta_handler_field_bitrate' => array(
        'parent' => 'views_handler_field_numeric',
      ),
      'filefield_meta_handler_field_duration' => array(
        'parent' => 'views_handler_field_numeric',
      ),
      'filefield_meta_handler_field_samplerate' => array(
        'parent' => 'views_handler_field_numeric',
      ),
      'filefield_meta_handler_field_tags' => array(
        'parent' => 'views_handler_field_prerender_list',
      ),
    ),
  );
}