You are here

function votingapi_views_handlers in Voting API 7.2

Same name and namespace in other branches
  1. 6.2 views/votingapi.views.inc \votingapi_views_handlers()
  2. 7.3 views/votingapi.views.inc \votingapi_views_handlers()

Implements of hook_views_handlers().

Related topics

File

views/votingapi.views.inc, line 18
Provide views data for votingapi.module.

Code

function votingapi_views_handlers() {
  return array(
    'handlers' => array(
      'votingapi_views_handler_field_value' => array(
        'parent' => 'views_handler_field_numeric',
        'path' => drupal_get_path('module', 'votingapi') . '/views',
      ),
      'votingapi_views_handler_relationship' => array(
        'parent' => 'views_handler_relationship',
        'path' => drupal_get_path('module', 'votingapi') . '/views',
      ),
      'votingapi_views_handler_sort_nullable' => array(
        'parent' => 'views_handler_sort',
        'path' => drupal_get_path('module', 'votingapi') . '/views',
      ),
    ),
  );
}