You are here

function legal_views_api in Legal 6.8

Same name and namespace in other branches
  1. 7.2 legal.module \legal_views_api()
  2. 7 legal.module \legal_views_api()

Implementation of hook_views_api().

File

./legal.module, line 716
Displays Terms & Conditions, and makes sure they are accepted before registration is accepted.

Code

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