You are here

function votingapi_views_api in Voting API 7.2

Same name and namespace in other branches
  1. 6.2 votingapi.module \votingapi_views_api()
  2. 7.3 votingapi.module \votingapi_views_api()

Implements of hook_views_api().

File

./votingapi.module, line 107
A generalized voting API for Drupal.

Code

function votingapi_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'votingapi') . '/views',
  );
}