You are here

function vote_up_down_views_api in Vote Up/Down 6

Function to enable the integration with views API 2

File

./vote_up_down.module, line 906

Code

function vote_up_down_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'vote_up_down') . '/views',
  );
}