You are here

function emvideo_views_handlers in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/includes/views/emvideo.views.inc \emvideo_views_handlers()
  2. 6.2 contrib/emvideo/includes/views/emvideo.views.inc \emvideo_views_handlers()

Implementation of hook_views_handlers().

File

contrib/emvideo/includes/views/emvideo.views.inc, line 14
Interface between emfield.module and views.module.

Code

function emvideo_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'emvideo') . '/includes/views/handlers',
    ),
    'handlers' => array(
      // argument handlers
      //       'emfield_handler_argument' => array(
      //         'parent' => 'views_handler_argument',
      //       ),
      'emvideo_handler_argument_duration' => array(
        'parent' => 'content_handler_argument_numeric',
      ),
      //       'emfield_handler_argument_numeric' => array(
      //         'parent' => 'views_handler_argument_numeric',
      //       ),
      //       'emfield_handler_argument_reference' => array(
      //         'parent' => 'emfield_handler_argument_numeric',
      //       ),
      //       'emfield_handler_argument_many_to_one' => array(
      //         'parent' => 'views_handler_argument_many_to_one',
      //       ),
      // field handlers
      'emvideo_handler_field_duration' => array(
        'parent' => 'content_handler_field_multiple',
      ),
    ),
  );
}